Re: odbc/UnixWare 7.1.1: No Go.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: odbc/UnixWare 7.1.1: No Go.
Date: 2001-03-22 20:54:14
Message-ID: Pine.LNX.4.30.0103222150590.1208-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

Larry Rosenman writes:

> using the following link, with the _init/_fini killed, works:
>
> cc -G *.o -L /usr/local/pgsql/lib -lpq -R/usr/local/pgsql/lib -lsocket -o
> libpsqlodbc.so.0.26

The libpq should definitely not be there, but if additional libraries such
as -lsocket make you happy then look at adding a line

SHLIB_LINK += $(filter ...

similar to what's in libpq's Makefile.

However, I don't think this is strictly necessary, since the library is
going to be loaded by a driver manager which is likely to have all these
libraries linked in. I don't understand this architecture too well, so
it's best resolved by trying the library.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-03-22 20:54:22 Re: odbc/UnixWare 7.1.1: No Go.
Previous Message Peter Eisentraut 2001-03-22 20:50:53 Re: odbc/UnixWare 7.1.1: No Go.

Browse pgsql-odbc by date

  From Date Subject
Next Message Larry Rosenman 2001-03-22 20:54:22 Re: odbc/UnixWare 7.1.1: No Go.
Previous Message Peter Eisentraut 2001-03-22 20:50:53 Re: odbc/UnixWare 7.1.1: No Go.