pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
can not configure in centos 6 x64
11+ messages / 5 participants
[nested] [flat]

* can not configure in centos 6 x64
@ 2012-06-18 09:20  Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Maziar Navahan @ 2012-06-18 09:20 UTC (permalink / raw)
  To: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 09:55  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Devrim GÜNDÜZ @ 2012-06-18 09:55 UTC (permalink / raw)
  To: Maziar Navahan <mnavahan@gmail.com>; +Cc: pgsql-odbc


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

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 10:07  Maziar Navahan <mnavahan@gmail.com>
  parent: Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 1 reply; 11+ messages in thread

From: Maziar Navahan @ 2012-06-18 10:07 UTC (permalink / raw)
  To: pgsql-odbc

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: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713071.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 12:09  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Tom Lane @ 2012-06-18 12:09 UTC (permalink / raw)
  To: Maziar Navahan <mnavahan@gmail.com>; +Cc: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 13:16  Maziar Navahan <mnavahan@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 11+ messages in thread

From: Maziar Navahan @ 2012-06-18 13:16 UTC (permalink / raw)
  To: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 13:27  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Devrim GÜNDÜZ @ 2012-06-18 13:27 UTC (permalink / raw)
  To: Maziar Navahan <mnavahan@gmail.com>; +Cc: pgsql-odbc


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

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-18 13:54  Maziar Navahan <mnavahan@gmail.com>
  parent: Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 1 reply; 11+ messages in thread

From: Maziar Navahan @ 2012-06-18 13:54 UTC (permalink / raw)
  To: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* can not configure in centos 6 x64
@ 2012-06-21 05:06  maziar navahan <mnavahan@gmail.com>
  0 siblings, 0 replies; 11+ messages in thread

From: maziar navahan @ 2012-06-21 05:06 UTC (permalink / raw)
  To: pgsql-odbc

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.


i currenly install :
 groupinstall "Development Tools"
 postgresql91 postgresql91-devel postgresql91-server postgresql91-libs
postgresql91-contrib


I also send this problem at
http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-td5713062.html


THX

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-22 07:44  Honza Horak <hhorak@redhat.com>
  parent: Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Honza Horak @ 2012-06-22 07:44 UTC (permalink / raw)
  To: Maziar Navahan <mnavahan@gmail.com>; +Cc: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-22 12:06  Maziar Navahan <mnavahan@gmail.com>
  parent: Honza Horak <hhorak@redhat.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Maziar Navahan @ 2012-06-22 12:06 UTC (permalink / raw)
  To: pgsql-odbc

hi


go to test ....

On Fri, Jun 22, 2012 at 12:15 PM, Honza Horak [via PostgreSQL] <
ml-node+s1045698n5713875h65@n5.nabble.com> 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]<http://user/SendEmail.jtp?type=node&node=5713875&i=0;)
>
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-odbc
>
>
> ------------------------------
>  If 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
>  To unsubscribe from can not configure in centos 6 x64, click here<http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=...;
> .
> NAML<http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_h...;
>


--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713887.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: can not configure in centos 6 x64
@ 2012-06-22 12:17  Maziar Navahan <mnavahan@gmail.com>
  parent: Maziar Navahan <mnavahan@gmail.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Maziar Navahan @ 2012-06-22 12:17 UTC (permalink / raw)
  To: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 11+ messages in thread


end of thread, other threads:[~2012-06-22 12:17 UTC | newest]

Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 09:20 can not configure in centos 6 x64 Maziar Navahan <mnavahan@gmail.com>
2012-06-18 09:55 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2012-06-18 10:07   ` Maziar Navahan <mnavahan@gmail.com>
2012-06-18 12:09     ` Tom Lane <tgl@sss.pgh.pa.us>
2012-06-18 13:16       ` Maziar Navahan <mnavahan@gmail.com>
2012-06-18 13:27         ` Devrim GÜNDÜZ <devrim@gunduz.org>
2012-06-18 13:54           ` Maziar Navahan <mnavahan@gmail.com>
2012-06-22 07:44             ` Honza Horak <hhorak@redhat.com>
2012-06-22 12:06               ` Maziar Navahan <mnavahan@gmail.com>
2012-06-22 12:17                 ` Maziar Navahan <mnavahan@gmail.com>
2012-06-21 05:06 can not configure in centos 6 x64 maziar navahan <mnavahan@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox