Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA90976 for ; Tue, 13 Jul 1999 09:57:51 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id JAA22362; Tue, 13 Jul 1999 09:56:32 -0400 (EDT) To: Daren Sefcik cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Three posts and no response 8--( In-reply-to: Your message of Mon, 12 Jul 1999 17:32:20 -0700 <818C0CABD178D2119DA700104B8ADF4005D8@PDSISD> Date: Tue, 13 Jul 1999 09:56:32 -0400 Message-ID: <22360.931874192@sss.pgh.pa.us> From: Tom Lane Daren Sefcik writes: > I know there must be somebody out there who can help me this,I need help > with getting psqlodbc working on Solaris 2.6..when I try to run the .so > file I get the following error: > /opt/ISLIodbc/2.11/bin/qetestlib: fatal: relocation error: file > /usr/local/pgsql/lib/libpsqlodbc.so: symbol shutdown: referenced symbol > not found This looks like libpsqlodbc.so hasn't been linked to libc.so properly. Unfortunately, every flavor of Unix seems to have different ideas about how shared libs should be built :-(, and I have no idea what the magic incantation may be on Solaris. A lot of Unixes require "-lc" to be mentioned when linking a shlib that makes use of libc. You might check whether that's happening when libpsqlodbc is built. Which version of Postgres are you using, anyway, and which port (solaris_i386 or solaris_sparc)? regards, tom lane