View Single Post
Old 03-06-2012, 02:19 PM   #9
LaneLester
The Web Doctor
LaneLester began at the beginning.
 
LaneLester's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Location: North Georgia, North America
Device: Kindle 3G
Quote:
Originally Posted by kovidgoyal View Post
set the LD_DEBUG environment variable to see why the shared library is not being loaded.
I'm not very knowledgeable about environment stuff, so I hope this is right:
Code:
root@pc1:~# export LD_DEBUG=files
~@pc1:~# cd /opt/calibre
~@pc1:/opt/calibre# ./calibre
      4096:
      4096:     file=libc.so.6 [0];  needed by /bin/sh [0]
      4096:     file=libc.so.6 [0];  generating link map
      4096:       dynamic: 0x00007f8bef345b40  base: 0x00007f8beefae000   size: 0x000000000039e368
      4096:         entry: 0x00007f8beefcf420  phdr: 0x00007f8beefae040  phnum:                 10
      4096:
      4096:
      4096:     calling init: /lib64/ld-linux-x86-64.so.2
      4096:
      4096:
      4096:     calling init: /lib/x86_64-linux-gnu/libc.so.6
      4096:
      4096:
      4096:     initialize program: /bin/sh
      4096:
      4096:
      4096:     transferring control: /bin/sh
      4096:
      4097:
      4097:     file=libc.so.6 [0];  needed by readlink [0]
      4097:     file=libc.so.6 [0];  generating link map
      4097:       dynamic: 0x00007fcbb23e9b40  base: 0x00007fcbb2052000   size: 0x000000000039e368
      4097:         entry: 0x00007fcbb2073420  phdr: 0x00007fcbb2052040  phnum:                 10
      4097:
      4097:
      4097:     calling init: /lib64/ld-linux-x86-64.so.2
      4097:
      4097:
      4097:     calling init: /lib/x86_64-linux-gnu/libc.so.6
      4097:
      4097:
      4097:     initialize program: readlink
      4097:
      4097:                                                                     
      4097:     transferring control: readlink                                  
      4097:                                                                     
      4098:                                                                     
      4098:     file=libc.so.6 [0];  needed by dirname [0]                      
      4098:     file=libc.so.6 [0];  generating link map                        
      4098:       dynamic: 0x00007fae4c5afb40  base: 0x00007fae4c218000   size: 0x000000000039e368                                                              
      4098:         entry: 0x00007fae4c239420  phdr: 0x00007fae4c218040  phnum:                 10                                                              
      4098:                                                                     
      4098:                                                                     
      4098:     calling init: /lib64/ld-linux-x86-64.so.2                       
      4098:                                                                     
      4098:                                                                     
      4098:     calling init: /lib/x86_64-linux-gnu/libc.so.6                   
      4098:                                                                     
      4098:                                                                     
      4098:     initialize program: dirname                                     
      4098:                                                                     
      4098:
      4098:     transferring control: dirname
      4098:
      4099:
      4099:     file=libcalibre-launcher.so [0];  needed by /opt/calibre/bin/calibre [0]
/opt/calibre/bin/calibre: error while loading shared libraries: libcalibre-launcher.so: cannot open shared object file: No such file or directory
Lane
LaneLester is offline   Reply With Quote