Thread: can not configure in centos 6 x64
Hi In centos 6.2 x64 with postgresql 9.1.4 x64 when I try to ./configure psqlodbc-09.01.0100 I get this error : PQconnectdb in -lpq... no configure: error: libpq library not found I think libpq has currently installed. can help me. -- View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
Hi, On Mon, 2012-06-18 at 02:20 -0700, Maziar Navahan wrote: > > In centos 6.2 x64 with postgresql 9.1.4 x64 when I try to ./configure > psqlodbc-09.01.0100 > > I get this error : > > PQconnectdb in -lpq... no > configure: error: libpq library not found Is PostgreSQL installed from community RPMs? If so, you will need to pass --with-libpq=/usr/pgsql-9.1 to the configure script -- or you can install ODBC driver using yum again. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Attachment
the ./configure --with-libpq=/usr/pgsql-9.1 ./configure --with-libpq=/usr/pgsql-9.1/lib ./configure --with-libpq=/usr/pgsql-9.1/bin not help me ! the same error ocuured but /usr/psql-9.1 is present : [root@localhost pgsql-9.1]# ls bin include lib share
View this message in context: Re: can not configure in centos 6 x64
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
View this message in context: Re: can not configure in centos 6 x64
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
Maziar Navahan <mnavahan@gmail.com> writes: > the > ./configure --with-libpq=/usr/pgsql-9.1 > ./configure --with-libpq=/usr/pgsql-9.1/lib > ./configure --with-libpq=/usr/pgsql-9.1/bin > not help me ! the same error ocuured Another likely possibility is you forgot to install the -devel subpackage? regards, tom lane
what mean -devel subpackage ? can give me complete requirement package name ? i currenly install : yum groupinstall "Development Tools" yum install postgresql91 postgresql91-devel postgresql91-server postgresql91-libs postgresql91-contrib THX -- View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713089.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
Hi, On Mon, 2012-06-18 at 06:16 -0700, Maziar Navahan wrote: > can give me complete requirement package name ? > > i currenly install : > yum groupinstall "Development Tools" > yum install postgresql91 postgresql91-devel postgresql91-server > postgresql91-libs postgresql91-contrib yum -y install postgresql91-devel is what you need. Again, yum install postgresql91-odbc will give you the ODBC binary, you don't need to compile. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Attachment
Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed and latest version Nothing to do 1. i need compile because need change some --with-unixodbc=DIR path or direct odbc_config file (default:yes) --with-iodbc=DIR path or direct iodbc-config file --with-odbcver=VERSION change default ODBC version number [0x0351] --enable-pthreads (thread-safe driver on some platforms) --disable-unicode (build non-Unicode driver) --disable-openssl (build non-OpenSSL driver) for ex: i need change --enable-pthreads --with-iodbc 2. current version have some problem and not stable ? -- View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713096.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
On 06/18/2012 03:54 PM, Maziar Navahan wrote: > Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed and > latest version > Nothing to do Then you should have also /usr/pgsql-9.1/bin/pg_config, which is part of postgresql91-9.1.4-1PGDG package. So you can check if it returns sane settings and then try to use that directly: $ ./configure --with-libpq=/usr/pgsql-9.1/bin/pg_config Any progress? Honza
hi
go to test ....
go to test ....
On Fri, Jun 22, 2012 at 12:15 PM, Honza Horak [via PostgreSQL] <[hidden email]> wrote:
--On 06/18/2012 03:54 PM, Maziar Navahan wrote:
> Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed and
> latest version
> Nothing to do
Then you should have also /usr/pgsql-9.1/bin/pg_config, which is part of
postgresql91-9.1.4-1PGDG package. So you can check if it returns sane
settings and then try to use that directly:
$ ./configure --with-libpq=/usr/pgsql-9.1/bin/pg_config
Any progress?
Honza
Sent via pgsql-odbc mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbcIf you reply to this email, your message will be added to the discussion below:http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713875.html
View this message in context: Re: can not configure in centos 6 x64
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
Work ! -- View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713889.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.