pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compiling with unixodbc support
2+ messages / 2 participants
[nested] [flat]

* Compiling with unixodbc support
@ 2003-03-23 02:51 Adrian Klaver <aklaver@attbi.com>
  2003-03-27 09:14 ` Re: Compiling with unixodbc support Giuliano Gavazzi <dev+pgsql@humph.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Adrian Klaver @ 2003-03-23 02:51 UTC (permalink / raw)
  To: pgsql-odbc

I posted earlier about not being able to get the psql-ODBC driver to compile 
with unixODBC support.By moving the unixODBC/include directory into the 
psqlODBC directory I have managed to get the make process to almost complete. 
The problem arises at the very end when I get the following message:

.....gcc -shared  info.lo bind.lo columninfo.lo connection.lo convert.lo 
drvconn.lo environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo 
pgtypes.lo psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo 
tuple.lo tuplelist.lo dlg_specific.lo odbcapi.lo multibyte.lo gpps.lo  
-lodbcinst  -Wl,-soname -Wl,psqlodbc.so -o .libs/psqlodbc.so
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -lodbcinst
collect2: ld returned 1 exit status
make[1]: *** [psqlodbc.la] Error 1
make[1]: Leaving directory `/tmp/psqlodbc-7.2.5'
make: *** [all] Error 2

Any clues as how to get from here  would be wonderful.
SuSE 8.1
Postgres 7.3.2
psqlODBC 7.2.5
unixODBC 2.2.5

	Thank you
	Adrian Klaver




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Compiling with unixodbc support
  2003-03-23 02:51 Compiling with unixodbc support Adrian Klaver <aklaver@attbi.com>
@ 2003-03-27 09:14 ` Giuliano Gavazzi <dev+pgsql@humph.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Giuliano Gavazzi @ 2003-03-27 09:14 UTC (permalink / raw)
  To: aklaver@attbi.com; pgsql-odbc

At 18:51 -0800 2003/03/22, Adrian Klaver wrote:
[...]
>The problem arises at the very end when I get the following message:
>
>.....gcc -shared  info.lo bind.lo columninfo.lo connection.lo convert.lo
>drvconn.lo environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo
>pgtypes.lo psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo
>tuple.lo tuplelist.lo dlg_specific.lo odbcapi.lo multibyte.lo gpps.lo 
>-lodbcinst  -Wl,-soname -Wl,psqlodbc.so -o .libs/psqlodbc.so
>/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
>cannot find -lodbcinst
>collect2: ld returned 1 exit status
>make[1]: *** [psqlodbc.la] Error 1
>make[1]: Leaving directory `/tmp/psqlodbc-7.2.5'
>make: *** [all] Error 2
>
>Any clues as how to get from here  would be wonderful.

you have to find the location of the libodbcinst.something file. Use 
locate (man locate). It must be where the unixodbc files are 
installed. Then you can specify an additional library path with the 
-L option (IFRW).

Giuliano




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-03-27 09:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-23 02:51 Compiling with unixodbc support Adrian Klaver <aklaver@attbi.com>
2003-03-27 09:14 ` Giuliano Gavazzi <dev+pgsql@humph.com>

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