pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: onur gulsevgi <ogulsevgi@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
Date: Tue, 16 Jul 2013 01:41:23 -0400
Message-ID: <630.1373953283@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOVLFwjc_CEC-FnZNpqomVgcC9o2WYQCu4LZUk2F4hJZr0fKcA@mail.gmail.com>
References: <CAOVLFwgLp5LxcSHOCL8R4fjQCDHb3j46_eNNtrG=8eyeynGf+Q@mail.gmail.com>
	<CAOVLFwjc_CEC-FnZNpqomVgcC9o2WYQCu4LZUk2F4hJZr0fKcA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

onur gulsevgi <ogulsevgi@gmail.com> writes:
> Here are the commands to build unixODBC:
> ./configure --prefix=/usr/local/unixODBC
> make
> make install

I think the problem here is that you're installing unixODBC in a
nonstandard location (viz, /usr/local/unixODBC), and then not telling
psqlodbc where to find it:

> oracle->>./configure --prefix=/data11/ora_bosa/bosadb/odbc/driver
> --without-libpq

I'm not sure about the precise incantation for Solaris, but I'd expect
to see something in there pointing to /usr/local/unixODBC.

What's more, this command is telling psqlodbc to install itself in a
*different* location-chosen-at-random.

While you might be able to make this work if you force it, it's going to
make usage of the software quite unpleasant, because you'll be needing
to cite these unusual paths all the time whenever you build or configure
programs using ODBC.  I think you'd be best advised to install these
packages in the default place.

			regards, tom lane


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



view thread (14+ messages)  latest in thread

Message-ID: <630.1373953283@sss.pgh.pa.us>
Permalink:  ../630.1373953283@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/630.1373953283@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, ogulsevgi@gmail.com
  Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
  In-Reply-To: <630.1373953283@sss.pgh.pa.us>
  References: <CAOVLFwgLp5LxcSHOCL8R4fjQCDHb3j46_eNNtrG=8eyeynGf+Q@mail.gmail.com> <CAOVLFwjc_CEC-FnZNpqomVgcC9o2WYQCu4LZUk2F4hJZr0fKcA@mail.gmail.com> <630.1373953283@sss.pgh.pa.us>

* 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