Re: .so and .a libs, tcl, postgres = in over my head
On Mon, Jul 06, 1998 at 09:37:55PM +0200, Gergely Madarasz wrote:
> On Mon, 6 Jul 1998, David Welton wrote:
>
> > Hrmm, well, actually it does seem to work. Maybe this has to do with
> > the RTLD_GLOBAL patch? Previously, it did not work. Hrmm
>
> 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"
> External references in the library are resolved using the
> libraries in that library's dependency list and any other
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> /* this is linking against a library */
> libraries previously opened with the RTLD_GLOBAL flag.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> And this is the case when additionally loaded module depends on a
> previously loaded module (the other way round).
I wonder if there is something wrong with /usr/lib/libpgtcl.so ?
--
David Welton http://www.efn.org/~davidw
Debian GNU/Linux - www.debian.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: