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

From Jackson, DeJuan
Subject RE: [HACKERS] dynamic libraries
Date
Msg-id F10BB1FAF801D111829B0060971D839F464B42@cpsmail
Whole thread Raw
Responses Re: [HACKERS] dynamic libraries
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?
> >
> > Using ldconfig and /etc/ld.so.conf:
> >
> >      # ld.so.conf
> >      /usr/X11R6/lib
> >      /usr/pkg/lib
> >      /usr/local/lib
> >      /usr/local/pgsql/lib
> >
> > This is on NetBSD 1.3.2.
>
> ELF shared libraries are new to BSDI 4.0, so I was a little confused.
> I
> editied ld.so.conf, but did not know I needed to run ldconfig, which I
> have done figured out, and it works.
>
> My larger question is why we don't get more reports of problems like
> this.  Do novices just know to go edit ld.so.conf, and run ldconfig?
>
> It is probably in the Linux FAQ, but is everyone reading that when
> they
> get the error?
>
> I am trying to figure out how to deal with this for BSDI 4.0 users.  I
> am sure they are going to be confused.
It's in the INSTALL file.  Or at least it was.
        -DEJ

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] CIDR type and functions
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] dynamic libraries