[plt-scheme] Message digests: md5, sha1, etc.
Daniel Yoo wrote:
>> Is it LD_LIBRARY_PATH that decides where DrScheme looks for
>> shared libraries on Linux?
>
> On Linux, there's a file called '/etc/ld.so.conf' that tells the
> dynamic link loader where to look for these files. But it should
> automatically look for libraries under /usr/lib. Strange.
>
> I'll try the library on my Ubuntu Dapper machine at work today and see
> if I can duplicate the problem.
>
>
Daniel is right, libcrypto.so is in /usr/lib64/libcrypto.so for me,
since I am on a 64-bit system. As an expiriment I tried moving
/etc/ld.so.conf and setting LD_LIBARY_PATH to nothing but libcrypto was
still found. Something else in the system must tell it to look in
/usr/lib64 but I don't know what.
Anyway this is what I usually have:
$ echo $LD_LIBRARY_PATH
:/usr/local/lib
$ cat /etc/ld.so.conf
/usr/local/lib
//usr/lib32/opengl/ati/lib
//usr/lib64/opengl/ati/lib
/lib
/usr/lib
/usr/local/lib
/lib64
/usr/lib64
/usr/local/lib64
/lib32
/usr/lib32
/usr/local/lib32
/usr/x86_64-pc-linux-gnu/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32
/usr/lib64/nspr
/usr/lib64/nss
/usr/lib
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/native_threads/
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/classic/
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server/
/usr/lib/qt4
/usr/lib64/qt4
/usr/lib32/qt4
/emul/linux/x86/usr/qt/2/lib
/emul/linux/x86/usr/qt/3/lib
/usr/qt/3/lib
/usr/qt/3/lib32
/usr/qt/3/lib64
/emul/linux/x86/lib
/emul/linux/x86/usr/lib
/emul/linux/x86/lib
/emul/linux/x86/usr/lib
/usr/games/lib
/usr/games/lib32
/usr/lib64/libstdc++-v3/