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

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Scott Williams <Scott@james.com>
Cc: <pgsql-bugs@postgresql.org>
Date: 2001-02-16T19:59:00Z
Lists: 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/