Re: [GENERAL] shared library

From: <fcanedo(at)soneramail(dot)nl>
To: Genco Yilmaz <gyilmaz(at)ilkyar(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [GENERAL] shared library
Date: 2001-12-12 17:55:54
Message-ID: Pine.LNX.4.33.0112121849290.401-100000@icarus.hades
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rich Ryan 2001-12-13 03:36:30 Convert money type to int
Previous Message Masaru Sugawara 2001-12-12 16:02:25 Re: Please help me write this query or function

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2001-12-12 17:59:11 User rights across databases
Previous Message Philip Rhoades 2001-12-12 17:54:47 Functions like: GetNextRecord . .