postgre-7.4 and readline-4.3 /solaris 8

From: Patrice Durosay <patrice(dot)durosay(at)cgm(dot)cnrs-gif(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: postgre-7.4 and readline-4.3 /solaris 8
Date: 2004-01-26 18:44:51
Message-ID: 40156023.94E8AB50@cgm.cnrs-gif.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello All,

I have a problem when starting postgre under solaris 8 :

bash-2.03# su - postgres -c "/usr/local/pgsql/bin/pg_ctl -D /dat/pgsql/data -l pgsql.log start &"
bash-2.03# 5068 Killed
postmaster successfully started

generate a /dat/pgsql/pgsql.log file :
ld.so.1: /usr/local/pgsql/bin/postmaster: fatal: libreadline.so.4: open failed: No such file or directory

bash-2.03# locate libreadline.so.4
/opt/sfw/lib/libreadline.so.4
/usr/local/lib/libreadline.so.4

Postmaster did'nt start

postgre's user PATHs are correct
LD_LIBRARY_PATH=:/usr/lib:/usr/local/lib:/opt/sfw/lib:/usr/local/netpbm/lib:/usr/local/pgsql/lib:/usr/local/pbm/lib
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/pgsql/bin:/opt/sfw/bin:/usr/dt/bin:/usr/ucb:/usr/local/netpb

Postmaster invocation don't do better.
# su - postgres -c "/usr/local/pgsql/bin/postmaster -D /dat/pgsql/data"
ld.so.1: /usr/local/pgsql/bin/postmaster: fatal: libreadline.so.4: open failed: No such file or directory
Killed

I reinstalled both readline & postgresql without more success.
It seem to be there :

bash-2.03# ldd /usr/local/pgsql/bin/postgres
libz.so => /usr/lib/libz.so
libreadline.so.4 => /usr/local/lib/libreadline.so.4
libcurses.so.1 => /usr/lib/libcurses.so.1
librt.so.1 => /usr/lib/librt.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1

Can anybody help me to start it ?

Patrice Durosay

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-01-26 19:59:31 Re: postgre-7.4 and readline-4.3 /solaris 8
Previous Message lnd 2004-01-26 17:03:16 Global variables for plpgsql stored procedures