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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Scott Williams <Scott(at)james(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: On NetBSD, had to add -Wl,-R/usr/local/postgres/lib to the src/Makefile.global LIB variable
Date: 2001-02-16 19:59:00
Message-ID: Pine.LNX.4.30.0102162057540.1009-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Lockhart 2001-02-16 20:15:28 Re: Regresstion Tests do not find PGLIB directory
Previous Message Chris Storah 2001-02-16 17:16:56 RE: create table bug with reserved words?