Thread: libpsqlODBC linking under linux

libpsqlODBC linking under linux

From
"Stanislav A. Filippov"
Date:
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