Re: On NetBSD, had to add -Wl,-R/usr/local/postgres/lib to the src/Makefile.global LIB variable - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: On NetBSD, had to add -Wl,-R/usr/local/postgres/lib to the src/Makefile.global LIB variable
Date
Msg-id Pine.LNX.4.30.0102162057540.1009-100000@peter.localdomain
Whole thread Raw
In response to On NetBSD, had to add -Wl,-R/usr/local/postgres/lib to the src/Makefile.global LIB variable  (Scott Williams <Scott@james.com>)
List pgsql-bugs
Scott Williams writes:

>   I had to add -Wl,-R/usr/local/postgres/lib to the
>   src/Makefile.global LIB variable.  Otherwise, doing a
>   'ldd /usr/local/postgres/bin/psql' after installation
>   reported that it couldn't find libpg (`-lpq.2 => Not Found'
>   or something like that).

In the past we have suggested to set the LD_LIBRARY_PATH variable
appropriately.  Version 7.1 fixes this by using the option you mention.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

pgsql-bugs by date:

Previous
From: Emily Carl
Date:
Subject: Regresstion Tests do not find PGLIB directory
Next
From: Peter Eisentraut
Date:
Subject: Re: Regresstion Tests do not find PGLIB directory