[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua distros again
- From: Sean Conner <sean@...>
- Date: Mon, 12 Feb 2018 16:31:28 -0500
It was thus said that the Great Dibyendu Majumdar once stated:
> On 10 February 2018 at 00:34, Sean Conner <sean@conman.org> wrote:
> >
> > It could be that I don't have a full grasp of your problem. I've read
> > over your message, and as best as I could tell:
>
> Above the problem I was describing is that Lua's shared library
> resolution does not work if the library has a 'lib' prefix, and the
> resolution has a path component in it. That is:
>
> Lua looks for '$HOME/ravi/lib/ravi/ffi.dylib' or
> '$HOME/ravi/lib/ravi/ffi.so' - depending on CPATH setting - and this
> doesn't support the 'lib' prefix. Is this any clearer?
Yes. But why are you building Lua modules prefixed with 'lib'? You would
have that issue on other platforms as well. That's what makes this
perplexing (at least to me).
As far as I know, there are *no* Lua modules in C that are prefixed with
'lib'.
-spc