pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
shared library
2+ messages / 2 participants
[nested] [flat]

* shared library
@ 2001-12-11 10:27 Genco Yilmaz <gyilmaz@ilkyar.org>
  2001-12-12 17:55 ` Re: [GENERAL] shared library fcanedo@soneramail.nl
  0 siblings, 1 reply; 2+ messages in thread

From: Genco Yilmaz @ 2001-12-11 10:27 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; pgsql-admin

Hi ,

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

I had not any problems in my first time install but I tried to install
postgres in to another machine having almost the same configuration.
But new installation step failed in shared library.(I installed postgres
may times)
   I know that I should tell the OS where to find shared libraries (either
with /etc/ld.so.conf or environmental variables LD_LIBRARY_PATH which is
not preferrable.)
    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..
    in archives of the list, most answers are related to LD_LIBRARY_PATH
but it is not a solution for me...
     Could any one suggest me a solution ?
any help will be appreciated..
many thanks in advance...





---------------------------
"Orada bir koy var uzakta"
http://www.ilkyar.org.tr





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [GENERAL] shared library
  2001-12-11 10:27 shared library Genco Yilmaz <gyilmaz@ilkyar.org>
@ 2001-12-12 17:55 ` fcanedo@soneramail.nl
  0 siblings, 0 replies; 2+ messages in thread

From: fcanedo@soneramail.nl @ 2001-12-12 17:55 UTC (permalink / raw)
  To: Genco Yilmaz <gyilmaz@ilkyar.org>; +Cc: pgsql-general@postgresql.org; pgsql-admin



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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-12-12 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 10:27 shared library Genco Yilmaz <gyilmaz@ilkyar.org>
2001-12-12 17:55 ` fcanedo@soneramail.nl

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox