Обсуждение: libpsqlODBC linking under linux

Поиск
Список
Период
Сортировка

libpsqlODBC linking under linux

От
John Smith
Дата:
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