Re: help compiling psqldobc-08.03.0400

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Kulik, Scott *EXTERN*" <SKulik(at)severstalna(dot)com>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: help compiling psqldobc-08.03.0400
Date: 2009-07-15 07:35:15
Message-ID: D960CB61B694CF459DCFB4B0128514C203937E2E@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Scott Kulik wrote:
> Has anyone had any success compiling psqlodbc on Redhat Linux (I'm using
> RHEL AS4). I have pretty much tried compiling with with every
> combination of odbc and postgres versions but never had any luck.
>
> I've been trying to figure this out for a few weeks but I think we may
> just have to end up paying the $500/server for the openlink
> driver/support.
>
> Anyone have any suggestions that might save us a few thousand dollars?

I never had any problems with it.
This is my log of a session where I installed 08.02.0500 on a 32-bit RHEL4 machine:

Prerequisites:
(The first two packages are our own RPMs for PostgreSQL, you can use the
standard "libs" and "devel" packages)

# rpm -U adv-postgres-8.2.5-libs-1-1.i386.rpm
# rpm -U adv-postgres-8.2.5-devel-1-1.i386.rpm
# yum install unixODBC unixODBC-devel

Unpack and compile the software:
(Our packages install PostgreSQL into /magwien/postgres-8.2.5, so you
can just omit these settings with the standard RPMs)

$ cd /home/laurenz
$ export PATH=/magwien/postgres-8.2.5/bin:$PATH
$ tar -xzvf psqlodbc-08.02.0500.tar.gz
$ cd psqlodbc-08.02.0500
$ LDFLAGS=-Wl,-rpath,/magwien/postgres-8.2.5/lib ./configure --prefix=/magwien/postgres-8.2.5
$ make

Install:

# cd /home/laurenz/psqlodbc-08.02.0500
# make install

You wrote that you encountered problems, but did not describe them.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Alex Goncharov 2009-07-15 12:28:29 Re: help compiling psqldobc-08.03.0400
Previous Message Hiroshi Inoue 2009-07-15 03:56:07 Re: is there a default client encoding?