Re: [PORTS] Shared library search paths

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] Shared library search paths
Date: 2000-07-19 01:52:10
Message-ID: 397509CA.C2B623B1@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

> Some platforms (OSF/cc, HPUX) are already using -rpath or equivalent, so
> you don't have to specify a shared library search path at runtime. I think
> that a lot more platforms could use this. Can people comment on whether
> and how it works on their platform? Essentially,
> LDFLAGS+=-rpath '$(libdir)'

For linux (at least gcc 2.7.x and 2.95.2 systems):

if specified in the compilation step,

-Wl,-rpath $(libdir)

or if specified directly to the linker

-rpath $(libdir)

- Thomas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-07-19 03:52:02 Re: MySQL comparison
Previous Message The Hermit Hacker 2000-07-19 01:48:33 Re: [PORTS] Shared library search paths

Browse pgsql-ports by date

  From Date Subject
Next Message luc00 2000-07-19 06:47:44 self Installing Kit for win2000 ?
Previous Message The Hermit Hacker 2000-07-19 01:48:33 Re: [PORTS] Shared library search paths