Re: error starting postmaster

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: error starting postmaster
Дата
Msg-id x77kymfy1k.fsf@onceler.kciLink.com
обсуждение исходный текст
Ответ на error starting postmaster  (Peter Choe <choepete@mindspring.com>)
Список pgsql-general
>>>>> "PC" == Peter Choe <choepete@mindspring.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@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

В списке pgsql-general по дате отправления:

Предыдущее
От: "Thalis A. Kalfigopoulos"
Дата:
Сообщение: Re: Cleanly cancel a query.
Следующее
От: pgsql-general@commandprompt.com
Дата:
Сообщение: Elephant Book - Removed Software