Skip site navigation (1) Skip section navigation (2)

Re: pgNixInstaller: Making PostgreSQL relocatable

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Enver ALTIN <ealtin(at)parkyeri(dot)com>, pgsql-hackers(at)postgresql(dot)org, Devrim Gunduz <devrim(at)commandprompt(dot)com>, Nicolai Tufar <ntufar(at)gmail(dot)com>, Burcu Guzel <burcu(dot)guzel(at)gmail(dot)com>
Subject: Re: pgNixInstaller: Making PostgreSQL relocatable
Date: 2006-03-24 13:54:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mar 24, 2006, at 7:25 AM, Martijn van Oosterhout wrote:

> Anyway, looking at the manpage of otool it doesn't say that it just
> prints the raw name, so perhaps it's doing the same as ldd. To be sure
> you'd need to strings the binary to see what it says.

Yes, strings shows the full path of prefix provided to configure. And  
I can tell you from experience it is not relocatable :).

Here is a bug I recently filed for pgAdmin which discusses the use of  
install_name_tool to make the reference relative. Certainly it would  
be better if they could be compiled with relative references, but at  
least I found a solution without having to understand gcc.

John DeSoi, Ph.D.
Power Tools for PostgreSQL

In response to

pgsql-hackers by date

Next:From: Stephen FrostDate: 2006-03-24 14:29:42
Subject: Re: Role incompatibilities
Previous:From: Thomas HallgrenDate: 2006-03-24 13:29:37
Subject: Re: Shared memory

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group