Re: loading modules that depends on dylibs on Ubuntu
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: loading modules that depends on dylibs on Ubuntu
- From: Wesley Smith <wesley.hoke@...>
- Date: 2009年1月19日 17:48:55 -0800
> Probably your package.cpath doesn't include /usr/local/lib.
So let me get this straight because there's potential for confusion:
I have the following:
muro.so (lua module)
libmuro.so (generic dylib)
When I require("muro"), muro.so loads fine, but muro.so depends on
libmuro.so. The trouble I'm having is loading libmuro.so, which is in
/usr/local/lib as it should be since it's a lib I made and isn't a Lua
module. Does adding /usr/local/lib to the cpath really allow dlopen
to find the dependencies that binary lua modules might have?
thanks,
wes