Re: .so and .a libs, tcl, postgres = in over my head
On Mon, Jul 06, 1998 at 03:39:31PM -0400, Dan Jacobowitz wrote:
> On Mon, Jul 06, 1998 at 12:29:51PM -0700, 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
> >
> > I'm still curious though about why the hell the stupid static lib
> > didn't work! :->
>
> My advice: Get my libapache-mod-perl source package out of Incoming,
> and build it. Log and watch the build process and compare the flags it
> is using with the ones you are using. It does what you want to do.
I got apache working with both mod_dtcl's - compiled against static
and shared libs. What I'm talking about now is that bit of code I
pasted that just does a dlopen on /usr/lib/libpgtcl.so. It loads it
if my program is dynamically linked against libtcl8.0, but doesnt work
compiled against usr lib tcl8.0.a.
At this point mod_dtcl is fine, I just want to understand the whole
dynamic/static thing, and make the (&^(*&*&*& computer behave like I
want/expect it to:-)) - It has become personal...;-)
Thanks for all the help guys,
--
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: