From: Joe Halpin <j.p.h@comcast.net>
To: pgsql-admin@postgresql.org
Subject: Problem setting runpath
Date: Sat, 26 Mar 2005 15:50:08 -0600
Message-ID: <4245D910.4050707@comcast.net> (raw)
I'm on Solaris 10 (Intel) using gcc. I'd like to add /usr/local/lib to
the built-in runpath. I've tried
1. setting LD_RUN_PATH=/usr/local/lib before running configure (also
tried adding this to the command line for configure).
2. Adding LDFLAGS='-Wl,--runpath,/usr/local/lib' to the configure
command line.
The upshot is that /usr/local/lib doesn't get included in the runpath,
and I have to set LD_LIBRARY_PATH to get things to work. I'd rather not
do that because this will be used in an environment where users set lots
of different LD_LIBRARY_PATH in their shell startup files.
I know I can use crle to add /usr/local/lib systemwide, but that makes
me nervous, and I'd rather get runpath to work if I can.
How can I tell configure to add /usr/local/lib to runpath, and have that
built into the executables?
Thanks
Joe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: j.p.h@comcast.net
Subject: Re: Problem setting runpath
In-Reply-To: <4245D910.4050707@comcast.net>
References: <4245D910.4050707@comcast.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox