Re: [HACKERS] dynamic libraries

From: jwieck(at)debis(dot)com (Jan Wieck)
To: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] dynamic libraries
Date: 1998-10-09 17:44:55
Message-ID: m0zRgb2-000EBRC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-10-09 17:46:06 Re: [HACKERS] dynamic libraries
Previous Message Brook Milligan 1998-10-09 17:30:41 Re: [HACKERS] dynamic libraries