Received: from clubserv.rp-online.de (root@clubserv.rp-online.de [149.221.232.11]) by hub.org (8.9.2/8.9.1) with ESMTP id NAA59958 for ; Wed, 3 Feb 1999 13:31:09 -0500 (EST) (envelope-from Michael.Meskes@gmx.net) Received: from pc63.meskes.de (as14-012.rp-plus.de [149.221.92.12]) by clubserv.rp-online.de (8.9.1a/8.9.1) with ESMTP id TAA11716 for ; Wed, 3 Feb 1999 19:30:54 +0100 (MET) Received: (from meskes@localhost) by pc63.meskes.de (8.9.1a/8.9.0/Debian/GNU) id IAA02436 for pgsql-interfaces@postgreSQL.org; Wed, 3 Feb 1999 08:54:45 +0100 Date: Wed, 3 Feb 1999 08:54:45 +0100 From: Michael Meskes To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] shared libs(tcl/swig/ecpg/postgresql) Message-ID: <19990203085445.A2420@gmx.net> Mail-Followup-To: pgsql-interfaces@postgreSQL.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from James Thompson on Tue, Feb 02, 1999 at 01:24:40PM -0600 On Tue, Feb 02, 1999 at 01:24:40PM -0600, James Thompson wrote: > I get an error about an unresolved symbol no_trans_auto (or something like > that, I'm not at home to check the extact symbol name) no_trans_auto is > part of the ecpg package which is in /usr/local/postgresql no_auto_trans is an integer defined in libecpg.so taht's right. It is included as external reference into the *.c files by ecpg via ecpglib.h. So I guess you have your *.pgc files correctly in the lib but the reference to libecpg isn't fulfilled. > If I attempt to load a library that ecpg depends on I get unresoved > symbols at each library. I ended up with tcl not being able to resolve > symbols in libcrypt.so I simple test file written in C seems to access > the library fine. libcrypt should only depend on libc.so.6 aka glibc2 and ld-linux.so.2. Since I don't know tcl I'm at a loss here. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!