Where is libdl which is used by cppunit

Liang Wang netcasper@gmail.com
Thu Nov 25 11:59:00 GMT 2004


I wrote an example to try cppunit, but got error message below:

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: 
cannot find -ldl

Where is libdl?  I can't find it.

Here is my Makefile.
=======================================================
example : IntTest.o main.o g++ -o example IntTest.o main.o 
-lcppunit -ldl IntTest.o : Int.h IntTest.h IntTest.cpp main.o : 
main.cpp clean: rm -f example IntTest.o main.o test : example 
./example =======================================================



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list