[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .so and .a libs, tcl, postgres = in over my head



On Mon, Jul 06, 1998 at 01:12:20PM -0700, David Welton wrote:
> On Mon, Jul 06, 1998 at 09:37:55PM +0200, Gergely Madarasz wrote:
> > No, this has nothing to do with RTLD_GLOBAL, and it worked previously. The
> > library the module is linked against doesn't need any symbols from the
> > module. From the dlopen manpage:
> 
> No, it doesnt!  Just to make sure that I was remembering things right
> (the first thing I tried when starting out to compile it as a module
> was, of course, a simple -ltcl8.0).  To test, I backed my apache down
> to -2, which doesn't have the RTLD_GLOBAL thing.
> 
> I get this same, awful error, with the exact same module that was
> working with -4.
> 
> couldn't load file "libpgtcl.so": /usr/lib/libpgtcl.so: undefined
> symbol: Tcl_GetChannel
>     while executing
> "load libpgtcl.so"


That's what we get for talking about too many things at once.  That
problem IS the RTLD_GLOBAL scope issue.


> >        External  references in the library are resolved using the
> >        libraries in that library's dependency list and any  other
> >                          ^^^^^^^^^^^^^^^^^^^^^^^^^

Except, tcl modules are generally not linked against libtcl8.0.so are
they?

> I wonder if there is something wrong with /usr/lib/libpgtcl.so ?

Nope.


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: