Re: [HACKERS] dynamic libraries

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] dynamic libraries
Дата
Msg-id 199810091746.NAA23331@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] dynamic libraries  (Brook Milligan <brook@trillium.NMSU.Edu>)
Список 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.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


В списке pgsql-hackers по дате отправления:

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] dynamic libraries
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] CIDR type and functions