[Libpqxx-general] LD_FLAGS used when checking for libpq

Jeroen Vermeulen jtv at xs4all.nl
Sat Aug 9 04:04:23 UTC 2008


Jorgen Austvik - Sun Norway wrote:

> The problem is that the -lpq switch is before the -L switch on the 
> command line.
> 
> With changes like the attached patch, the linker is told where to to 
> find libpg before the -lpq switch, and compilation works for me.

Great, thanks!  I guess this could help a lot of users on platforms I 
can't test on.  It just went in as revision 1365.

By the way, do I write Jorgen or Jørgen when I mention you in a 
Unicode-enabled context?


Jeroen


More information about the Libpqxx-general mailing list