[databases-discuss] Webrev request: libpqxx, C++ API library for PostgreSQL
Bjorn Munch
Bjorn.Munch at sun.com
Thu May 22 06:10:03 PDT 2008
On 21/05 12.28, Bjorn Munch wrote:
> On 20/05 04.01, Marc Glisse wrote:
> > > On 19/05 10.28, Bjorn Munch wrote:
> > > Well, LD_OPTIONS and/or LD_RUN_PATH worked fine for
> > > *adding* /usr/postgres/8.3/lib to the RUNPATH, but I couldn't
> > > get rid of the other "mess". I also couldn't figure out how it got
> > > added, so I asked on the libpqxx mailing list for help.
> >
> > The rest of the "mess" is added automatically by the compiler. You
> > can read about the -norunpath option in the manpage for CC.
>
> Ah, thank you very much! I wasn't aware of that. I have tested it
> manually and it works, now I just need to find out how to get this
> added to the command issed by make, which turned out not to be so easy.
>
> I have asked the libpqxx mailing list again, if this doesn't help I'll
> just have to find a way.
This didn't help and I had to find a way. Run make all, grep out the
command that was used to link the library, add "-norunpath" and
re-execute, then run make install.
I have re-done the webrev for anyone who's interested:
http://cr.opensolaris.org/~bjornmu/pqxx-webrev/
- Bjorn
More information about the databases-discuss
mailing list