lua-users home
lua-l archive

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


>Ok, I compiled lua on Mandrake 9.0 with no problems (that I noticed).  I made no changes to the config file, so that is standard.  I compiled with the shared libraries, and then make installed /usr/local/bin and wherever the libs went (/usr/local/lib I'm guessing).  I get this error though, and I think I tried lua before I ran the make install and got the same error:
>lua: error while loading shared libraries: liblua.so: cannot open shared object file: no such file or directory

Perhaps your system is not configured to get dynamic libraries from
/usr/local/lib or wherever they went. I don't know about Mandrake, but in my
Linux machine it only looks in the directories listed in /etc/ld.so.conf.

Try adding /usr/local/lib to LD_LIBRARY_PATH as INSTALL suggests.
--lhf