Re: Trouble finding libpq on Centos 6.5
От | Asif Naeem |
---|---|
Тема | Re: Trouble finding libpq on Centos 6.5 |
Дата | |
Msg-id | CAEB4t-NzQC74cZ2-Dr-TA8Naa3XfSStDuUVjQaS56hie3OneZQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Trouble finding libpq on Centos 6.5 (Aqz <poczta@aquaz.eu>) |
Ответы |
Re: Trouble finding libpq on Centos 6.5
|
Список | pgsql-general |
Hi,
Yes. It seems that /usr/pgsql-9.3/lib is not in linker default library search path. You may either require to provide it explicitly via -L option while linking or add /usr/pgsql-9.3/lib to the default library search path.
As suggested by Alberto, for development work related devel package is required.
Regards,
Regards,
Muhammad Asif Naeem
On Thu, May 8, 2014 at 1:06 PM, Alberto Cabello Sánchez <alberto@unex.es> wrote:
Hi, WojtekOn Thu, 8 May 2014 08:54:44 +0200
Aqz <poczta@aquaz.eu> wrote:
> Hi.
>
> I'm not sure if I should write here, or on a Centos mailing list...
>
> I have fresh, vanilla Centos 6.5 with postgresql yum repository added.
> I've successfully installed postgresql93 and postgresql93-libs packages,
> but still :
>
> $ ld -lpq
> ld: cannot find -lpq
>
> $ ldconfig -p
> libpq.so.5 (libc6,x86-64) => /usr/pgsql-9.3/lib/libpq.so.5
> libpq.so (libc6,x86-64) => /usr/pgsql-9.3/lib/libpq.so
>
>
> What did I do wrong?
Maybe you need to install postgresql93-devel package?
--
Alberto Cabello Sánchez <alberto@unex.es>
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: