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

Re: [HACKERS] dynamic libraries

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brook(at)trillium(dot)NMSU(dot)Edu (Brook Milligan)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] dynamic libraries
Date: 1998-10-09 17:46:06
Message-ID: (view raw or whole 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?
> Using ldconfig and /etc/
>      #
>      /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, 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, 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.

  Bruce Momjian                        |
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: D'Arcy J.M. CainDate: 1998-10-09 18:16:09
Subject: Re: [HACKERS] CIDR type and functions
Previous:From: Jan WieckDate: 1998-10-09 17:44:55
Subject: Re: [HACKERS] dynamic libraries

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