ldconfig problem

Senthil Nathan rsennat@gmail.com
Thu Aug 30 08:10:00 GMT 2007


Hi,
I'm using cygwin for the first time to compile my programs.
I get the following error during dynamic loading of my libraries.
And I came to know that there is no concept of "ldconfig".
So how do I load my dynamic libraries while compiling.
this is the command i run on linux platform, which works well.
$ gcc `xml2-config --cflags --libs` -o save save.c --> /usr/local/lib
has the library to linked with this.
but how do i compile this in cygwin.
and the error I get in cygwin is,
/cygdrive/c/DOCUME~1/che02099/LOCALS~1/Temp/ccWWThmX.o:save.c:(.text+0x15c):
undefined reference
collect2: ld returned 1 exit status
Thanks
Senthil
--
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

AltStyle によって変換されたページ (->オリジナル) /