Code Sample |
dsl@box:~$ export LD_LIBRARY_PATH=/opt/screen/lib dsl@box:~$ ldd /opt/screen/bin/screen libncurses.so.5 => /lib/libncurses.so.5 (0x40019000) libelf.so.0 => not found libutempter.so.0 => not found libutil.so.1 => /lib/libutil.so.1 (0x40055000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40059000) libc.so.6 => /lib/libc.so.6 (0x40086000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) dsl@box:~$ echo $LD_LIBRARY_PATH /opt/screen/lib dsl@box:~$ ls $LD_LIBRARY_PATH libelf.so.0 libutempter.so.0 |
Quote |
Could those be only symlinks in your /opt/screen/lib dir? |
Quote |
can often be worked around by setting a more proper path for your design in the configure file before compile-time. |
Quote |
Here is some more data, from a "sun" perspective |
Quote |
I've also seen where a path statement is forced by editing the global path to include checking the LD_LIBRARY_PATH first, like PATH=$LD_LIBRARY_PATH,$PATH |
Quote |
I've also seen where a path statement is forced by editing the global path to include checking the LD_LIBRARY_PATH first, like PATH=$LD_LIBRARY_PATH,$PATH I didn't know the two paths could work together like that...always thought PATH was for executables and LD_LIBRARY_PATH was for libs, and never the twain shall meet...I'll have to try that out, thanks. |