lua-users home
lua-l archive

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


> Why, if I say package.cpath="?.so" does Lua fail to
> find the module, but if I say package.cpath="./?.so"
> Lua does find it?

Works for me in Mac OS X:

    Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio
    > package.cpath="?.so"
    > =require"bc"
    table: 0x7fcb93c0afb0