Обсуждение: initdb error->ld-elf.so.1: Shared object "libpq.so.2" not found

Поиск
Список
Период
Сортировка

initdb error->ld-elf.so.1: Shared object "libpq.so.2" not found

От
Courtney Thomas
Дата:
Greetings !

I got the above error [see subject] when I attempted to "initdb".

What's wrong and how do I fix it ?

Appreciatively,

Courtney  

Re: [GENERAL] initdb error->ld-elf.so.1: Shared object "libpq.so.2" not found^H

От
jim@reptiles.org (Jim Mercer)
Дата:
> I got the above error [see subject] when I attempted to "initdb".
>
> What's wrong and how do I fix it ?

what operating system?

--
[ Jim Mercer                 jim@reptiles.org              +1 416 506-0654 ]
[          Reptilian Research -- Longer Life through Colder Blood          ]
[  Don't be fooled by cheap Finnish imitations; BSD is the One True Code.  ]

Re: [GENERAL] initdb error->ld-elf.so.1: Shared object "libpq.so.2" not found^H

От
Courtney Thomas
Дата:
Jim Mercer wrote:
>
> > I got the above error [see subject] when I attempted to "initdb".
> >
> > What's wrong and how do I fix it ?
>
> what operating system?
>
> --
> [ Jim Mercer                 jim@reptiles.org              +1 416 506-0654 ]
> [          Reptilian Research -- Longer Life through Colder Blood          ]
> [  Don't be fooled by cheap Finnish imitations; BSD is the One True Code.  ]

_________________>

Sorry 'bout that.
FreeBSD3.3.
Gratefully,
    Courtney

Re: [GENERAL] initdb error->ld-elf.so.1: Shared object "libpq.so.2" not found^H

От
Courtney Thomas
Дата:
Jim Mercer wrote:
>
> > I got the above error [see subject] when I attempted to "initdb".
> >
> > What's wrong and how do I fix it ?
>
> what operating system?
>
> --
> [ Jim Mercer                 jim@reptiles.org              +1 416 506-0654 ]
> [          Reptilian Research -- Longer Life through Colder Blood          ]
> [  Don't be fooled by cheap Finnish imitations; BSD is the One True Code.  ]
>
> ************

Jim,

A couple of other things that might shed light:

1-I am logged in as user "postgres"
2-libpq.so.2 is in /usr/local/pgsql/lib; and is also linked to by
libpq.so in said dir
3-owner/group are both "postgres" [of libpq.so.2, as well as all the
other files in said dir]

Thanks again,

Courtney