libpsqlODBC linking under linux - Mailing list pgsql-interfaces

From John Smith
Subject libpsqlODBC linking under linux
Date
Msg-id 3810E39D.FFA1167F@ualr.edu
Whole thread Raw
List pgsql-interfaces
I am having problem linking an ODBC program under RedHat linux.
The ODBC interface is the one that came with PostgreSQL distribution.
gcc gives error:

psqlodbc.o(.text+0x0): multiple definition of '_init'
/usr/lib/crt.o(.init+0x0): first defined here

and a similar message for '_fini'.

Does anyone know how to get around it?

Any suggestions would be appreciated

Stas



pgsql-interfaces by date:

Previous
From: Charles Welch
Date:
Subject: Multiple Cursors in libpq
Next
From: "Michal Maru¹ka"
Date:
Subject: mdb: new application}