libpsqlODBC linking under linux - Mailing list pgsql-interfaces

From Stanislav A. Filippov
Subject libpsqlODBC linking under linux
Date
Msg-id 4.1.19991023024347.00a09ce0@athena.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: "Stanislav A. Filippov"
Date:
Subject:
Next
From: Hans Matzen
Date:
Subject: pgaccess - Print Reports