Re: shared library

Поиск
Список
Период
Сортировка
Искать
От
Тема
Re: shared library
Дата
Msg-id
Pine.LNX.4.33.0112121849290.401-100000@icarus.hades
Ответ на
shared library (Genco Yilmaz)
Список
Дерево обсуждения
Convert money type to int "Rich Ryan" <rich@usedcars.com>


On Tue, 11 Dec 2001, Genco Yilmaz wrote:
...
> I am a new comer to this list.My problem is related to installing of
> postgres 7.1.3 to Slackware 8.0 Linux.  2.2.19 Kernel
...
>     But when I try to run psql program it says that it cannot find shared
> object files.. even if I tell the OS where it can find it..


Did you try running ldconfig? You need to run this as root after making
changes to /etc/ld.so.conf. If you add the '-v' option it will  tell you
what libraries it's using.

ldd may be usefull as well, it tells you what libraries a binary uses and
complains when it can't find one or more. That way you'll know what to
look for if indeed you're missing libraries!

For example:

$ ldd /usr/local/pgsql
	libpq.so.2 => /usr/local/pgsql/lib/libpq.so.2 (0x40017000)
...
	libc.so.6 => /lib/libc.so.6 (0x40259000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Good luck,

Francisco

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Francisco Reyes
Дата:
FAQ