Re: Making rpath a bit more flexible - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Making rpath a bit more flexible
Date
Msg-id 200410120856.14656.peter_e@gmx.net
Whole thread Raw
In response to Making rpath a bit more flexible  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making rpath a bit more flexible
Re: Making rpath a bit more flexible
List pgsql-hackers
Am Montag, 11. Oktober 2004 22:31 schrieb Tom Lane:
> The problem of course is that we have no rpath pointing to the place
> where libperl.so lives.  (Now that I look, the only reason this worked
> before was that I had /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
> mentioned in /etc/ld.so.conf in my old installation.)

This is a bug in the operating system.  It should be configured so that it can 
find all libraries that it installs itself.

> What I would like to do about this is change the platform-specific
> makefiles to provide these macros in the form
>  rpath = -Wl,-rpath,$(rpathdir)

I have no problem with that.  But are there going to be cases where we need to 
point to more than one library path?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: CVS fixed ...
Next
From: "Dave Page"
Date:
Subject: Re: PL/PgSQL for counting all rows in all tables.