lua-users home
lua-l archive

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


from Tomas on 2003-05-14 at 10:25:15:
> > Which seems weird to me. Shouldn't the linker be finding those symbols 
> > in the executable's address space?
> 	I don't think so.  Why don't you make dynamic
> libraries instead of a bundle?  I add a clause at Makefile
> to make .dylib instead of .so:

Do you mean instead of the archive? (.a)

And then I link both my lua executable and my module against the dylib? That
should work, but it should also be possible to do without it -- apache doesn't
appear to have any .dylibs anywhere on my system, and it is still able to load
its .so's, which make reference to symbols exported from the httpd binary.

I'll try looking at the apache source and seeing how they're loading modules.
It might be nice ot make Lua not depend on dlcompat anyway.

> 
> 	Tell me if you succeed or if you find another
> way to solve that.
> 	Tomas