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

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-10-09 17:46:06
Subject: Re: [HACKERS] dynamic libraries
Previous:From: Brook MilliganDate: 1998-10-09 17:30:41
Subject: Re: [HACKERS] dynamic libraries

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