Received: from mbox.ualr.edu (mbox.ualr.edu [144.167.10.38]) by hub.org (8.9.3/8.9.3) with ESMTP id SAA98013 for ; Fri, 22 Oct 1999 18:15:07 -0400 (EDT) (envelope-from safilippov@ualr.edu) Received: from ualr.edu (access22.mod1.ualr.edu) by UALR.EDU (PMDF V5.1-12 #24705) with ESMTP id <01JHFYCLOD80018KV1@UALR.EDU> for pgsql-interfaces@postgresql.org; Fri, 22 Oct 1999 17:14:55 CDT Date: Fri, 22 Oct 1999 17:22:21 -0500 From: John Smith Subject: libpsqlODBC linking under linux To: pgsql-interfaces@postgresql.org Message-id: <3810E39D.FFA1167F@ualr.edu> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (Win98; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en 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