Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Asif Naeem
On Thu, May 8, 2014 at 5:02 PM, Aqz wrote: > I have devel package installed. > > Centos postgresql package adds file to /etc/ld.so.conf.d with path to > pgsql libraries directory (/usr/pgsql-9.3/lib/) so I don't think that is > the problem. > As you can see in my first message ldconfig -p lists l

Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Alberto Cabello Sánchez
On Thu, 8 May 2014 14:02:01 +0200 Aqz wrote: > I have devel package installed. > > Centos postgresql package adds file to /etc/ld.so.conf.d with path to pgsql > libraries directory (/usr/pgsql-9.3/lib/) so I don't think that is the > problem. So, it seems "ldconfig" searches in ld.so.conf.d pat

Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Aqz
I have devel package installed. Centos postgresql package adds file to /etc/ld.so.conf.d with path to pgsql libraries directory (/usr/pgsql-9.3/lib/) so I don't think that is the problem. As you can see in my first message ldconfig -p lists libpq library among others.. Also : $ LD_LIBRARY_PATH="/u

Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Steve Clark
On 05/08/2014 02:54 AM, Aqz 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

Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Asif Naeem
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

Re: [GENERAL] Trouble finding libpq on Centos 6.5

2014-05-08 Thread Alberto Cabello Sánchez
On Thu, 8 May 2014 08:54:44 +0200 Aqz 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 : > > $ l

[GENERAL] Trouble finding libpq on Centos 6.5

2014-05-07 Thread Aqz
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 (li