11

Shared libraries are not linked to the binary

view full story
linux-howto

http://ubuntuforums.org – I am getting weird results after compiling the code shown below: $ g++ -rdynamic -o ../../kernel kernel.cpp.o ../../lib/led.so ../../lib/remote.so -L"../../lib" -lcore -ldl $ ldd ../../kernel linux-gate.so.1 => (0x0059c000) ../../lib/led.so (0x00b2a000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00ed5000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x0089d000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00d84000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00143000) /lib/ld-linux.so.2 (0x00c26000) libm.so.6 => /lib/i386-linux-gnu (Hardware)