From: | Vivek Khera <khera(at)kcilink(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: error starting postmaster |
Date: | 2001-06-08 21:43:03 |
Message-ID: | x77kymfy1k.fsf@onceler.kciLink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>>>>> "PC" == Peter Choe <choepete(at)mindspring(dot)com> writes:
PC> i just installed postgresql7.1 on a freebsd 4.3-stable machine. and i
PC> am able to start it with:
PC> postmaster -D data
PC> but when i try to:
PC> createdb test
PC> i get the following error:
PC> /usr/libexec/ld-elf.so.1: Shared object "libpq.so.2" not found
PC> where can i get libpq.so.2?
Every time you boot, you need to run ldconfig to tell it where to find
your shared libs. I use this startup script called
/usr/local/etc/rc.d/00postgres-client.sh:
--cut here--
#!/bin/sh
case "$1" in
start)
/sbin/ldconfig -m /usr/local/pgsql/lib
;;
stop)
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
--cut here--
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-06-08 21:58:07 | Re: Cleanly cancel a query. |
Previous Message | Jonathan Bartlett | 2001-06-08 21:42:09 | Re: maximum number of rows in table - what about oid limits? |