Re: [HACKERS] dynamic libraries - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] dynamic libraries
Date
Msg-id m0zRgb2-000EBRC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to dynamic libraries  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
>
> How are people handling the fact that libpq is dynamic, and psql needs
> to find it.  I don't see people using -rpath as a link option.
>
> Are people setting LD_LIBRARY_PATH to the PostgreSQL library directory?
>

    I  have  a  /usr/local/pgsql/lib  line in the /etc/ld.so.conf
    file and run ldconfig(8)  when  I  get  any  error  from  the
    dynamic  linker  (e.g.   pg_id  fails to load libpq.so.2 :-).
    Usually the problem disappears then.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: Re: [HACKERS] dynamic libraries
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] dynamic libraries