[Bug 1002672] Re: apps can't be linked against libdl in 12.04

2012-05-22 Thread Jason Conti
You need to specify the libraries after the code that reference them. So the correct method is: gcc -o dltest dltest.o -ldl The command line above would work anyways prior to oneiric, but from oneiric onward the linker is more strict. See http://wiki.debian.org/ToolChain/DSOLinking Marking as in

[Bug 1002672] Re: apps can't be linked against libdl in 12.04

2012-05-22 Thread lvd
my info about eglibc is wrong: === lvd@ubuserv1204:~$ dpkg --search libdl libc6: /lib/x86_64-linux-gnu/libdl.so.2 libc6-dev: /usr/lib/x86_64-linux-gnu/libdl.so libc6-dev: /usr/lib/x86_64-linux-gnu/libdl.a libc6: /lib/x86_64-linux-gnu/libdl-2.15.so === so libc6 is probably the cause. Also, === l