Comment 2 for bug 1002672

Revision history for this message
Jason Conti (jconti) wrote :

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 invalid.