Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: [PORTS] Shared library search paths - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [PORTS] Shared library search paths
Date
Msg-id [email protected]
Whole thread Raw
In response to Shared library search paths  (Peter Eisentraut <[email protected]>)
List pgsql-hackers
> 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

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: TUPLE SIZE HELP
Next
From: The Hermit Hacker
Date:
Subject: Re: [PORTS] Shared library search paths