pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Caleb <caleb@caleb.com>
To: pgsql-odbc@postgresql.org
Subject: Compile of plsqODBC driver fails on OEL6
Date: Wed, 4 Mar 2015 18:42:17 -0800
Message-ID: <0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hello:

I'm not sure if this is a bug, or some part of the procedure we are missing.

We are trying to compile the plsqODBC driver, refering to instructions in
https://odbc.postgresql.org/docs/unix-compilation.html, as that appears to
be the only way to install on Linux.

We are using latest 64-bit version of Postgres and plsqODBC (just
downloaded).  Configure fails with:

configure: error: libpq library not found

Some clues in the config.log (attached) may be:

/usr/bin/ld: warning: libssl.so.1.0.0, needed by
/opt/PostgreSQL/9.3/lib/libpq.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by
/opt/PostgreSQL/9.3/lib/libpq.so, not found (try using -rpath or
-rpath-link)

Yet all of the libraries are present:

[root@postgres9 /]# locate libpq.so
/opt/PostgreSQL/9.3/lib/libpq.so
/opt/PostgreSQL/9.3/lib/libpq.so.5
/opt/PostgreSQL/9.3/lib/libpq.so.5.6
/opt/PostgreSQL/9.3/pgAdmin3/lib/libpq.so.5

[root@postgres9 /]# locate libssl.so
/opt/PostgreSQL/9.3/lib/libssl.so.1.0.0
/usr/lib64/.libssl.so.1.0.0.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so.1.0.0
/usr/lib64/libssl.so.10

[root@postgres9 /]# locate libcrypto.so
/opt/PostgreSQL/9.3/lib/libcrypto.so.1.0.0
/usr/lib64/.libcrypto.so.1.0.0.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/libcrypto.so.1.0.0
/usr/lib64/libcrypto.so.10


We have tried the config command with and without the --with-libpq switch,
also using lib and bin suffix, same results.

./configure --with-libpq=/opt/PostgreSQL/9.3

Latest versions just downloaded:

psqlodbc-09.03.0400.tar.gz
unixODBC-2.3.2.tar.gz
postgresql-9.3.6-1-linux-x64.run
Linux postgres9.localdomain 2.6.39-400.17.1.el6uek.x86_64 #1 SMP Fri Feb
22 18:16:18 PST 2013 x86_64 x86_64 x86_64 GNU/Linux

Thank you in advance,
Caleb.

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Attachments:

  config.log (application/octet-stream, 40.2K) download

view thread (2+ messages)  latest in thread

Message-ID: <0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com>
Permalink:  ../0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com/
Also on:    postgresql.org/message-id/0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: caleb@caleb.com
  Subject: Re: Compile of plsqODBC driver fails on OEL6
  In-Reply-To: <0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com>
  References: <0bd1ead80c190819c2b6e21848b10a96.squirrel@cwh13.canadianwebhosting.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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