Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 18:49:10 -0700 (PDT)
From:      bruno@tinkerbox.org
To:        tlambert2@mindspring.com
Cc:        hackers@freebsd.org
Subject:   Re: problems with shared libraries (fwd)
Message-ID:  <Pine.BSF.4.21.0204101846480.68564-100000@mail.dvart.com>

next in thread | raw e-mail | index | archive | help

that worked, I dlopen'ed glib in my program and put a stub for the glib
function that was failing. It was getting bad data. Guess glib needs some
stuff inited first maybe... anyway, it seems it works by spoofing it !

thanks

bruno

>Create a module "wrapper.so" that dlopen's glib.so.xxx, and *then*
>dlopen's your module, and then reflects the interfaces down.

>Alternately, don't use glib: it's intrinsically broken, by design.

>-- Terry



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0204101846480.68564-100000>