Re: open_dll on Linux?
- Posted by jaygade Sep 09, 2009
- 1396 views
mattlewis said...
jaygade said...
ldd eui linux-gate.so.1 => (0xf7eec000) libm.so.6 => /lib32/libm.so.6 (0xf7ead000) libdl.so.2 => /lib32/libdl.so.2 (0xf7ea9000) libresolv.so.2 => /lib32/libresolv.so.2 (0xf7e92000) libnsl.so.1 => /lib32/libnsl.so.1 (0xf7e79000) libc.so.6 => /lib32/libc.so.6 (0xf7d16000) /lib/ld-linux.so.2 (0xf7eed000)
Some follow up questions:
- Are your 64-bit libraries in /usr/lib or /usr/lib64 ?
- What is the value of LD_LIBRARY_PATH?
- In the 64-bit directory, what's the name of the libc that's there?
Matt
I guess my 64-bit libraries are in both /usr/lib64 is a link to /usr/lib. LD_LIBRARY_PATH isn't set. In /usr/lib, I have libc.so and libc.a.
I see in /etc/ld.so.conf includes the files in /etc/ld.so.conf.d which includes lib32asound2.conf libasound2.conf libc.conf x86_64-linux-gnu.conf
None of these seem to point to /lib32. Unless that is somehow hardcoded (or configured) into ldconfig or something? Or /lib/ld-linux.so.2?