lua-users home
lua-l archive

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


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