-----Original Message----- From: Jeroen T. Vermeulen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 11:36 PM To: Sheets, Jason (Manpower Contract) Cc: [email protected] Subject: Re: [libpqxx-general] libpqxx fails to compile under MinGW / Msys
This looks very much like one known problem in older versions of libpqxx: when linking ws2_32 in *before* libpq, as the older configure script used to do, you can expect the sort of errors you're seeing here. What happens is that the linker scans ws2_32 first, sees lots of functions like select() and htonl() that nobody has asked for (and so forgets about them), and then later scans libpq and finds it needs functions like select() and htonl() that haven't been linked in. So maybe this problem hasn't been fixed quite everywhere. Which libpqxx version was this from? Jeroen [JS] This was latest released version (2.6.6). I've still been unsuccessful with or without LDFLAGS being set, I can send a config.log or any other information you'd like to have. I also found the configure / build process seems to be broken on NLD9 Linux with newer versions of glibc where crypt is a separate library, setting LDFLAGS to include -lcrypt allowed it to compile. Jason _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
