Re: odbc/UnixWare 7.1.1: No Go. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: odbc/UnixWare 7.1.1: No Go.
Date
Msg-id Pine.LNX.4.30.0103222150590.1208-100000@peter.localdomain
Whole thread Raw
In response to odbc/UnixWare 7.1.1: No Go.  (Larry Rosenman <ler@lerctr.org>)
List pgsql-hackers
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@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Patrick Welche
Date:
Subject: Re: Re: Call for platforms
Next
From: Larry Rosenman
Date:
Subject: (forw) Revised schedule for 4.3-RELEASE