Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Olive,

You need to locate the libreadline.so.4 shared library on your system. I'm guessing it's not in any of the standard locations and then add that path to your LD_LIBRARY_PATH. You might also need to install libreadline if you do not have it available on your system.

I'm curious as to why initdb is kicking off when you su to the postgres user though. Is this how the solaris pkg is set up?

--
Jeff Frost, Owner 	<jeff@xxxxxxxxxxxxxxxxxxxxxx>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 650-780-7908	FAX: 650-649-1954

On Sat, 19 Nov 2005, olive Mckenzie wrote:

"ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory"

 I am using Solaris 10 and postgres-8.0.1
 after typying

 # su postgres
 I get the message

 $ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux