Thread: 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

From
Courtney Thomas
Date:
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

From
jim@reptiles.org (Jim Mercer)
Date:
> 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

From
Courtney Thomas
Date:
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

From
Courtney Thomas
Date:
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