lua-users home
lua-l archive

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


On Tue, Jun 01, 2004 at 12:25:09PM -0400, Klereson S. Bravo wrote:
> Some way exists to compile "loadlib" without the necessity to have lib 
> "libdl" ?
> Which the procedure for de compilation ?
> I use FreeBSD 4.9-RELEASE.

The procedure I use is this:
tar zxvf lua-5.0.tar.gz
cd lua-5.0
make

It compiles cleanly under FreeBSD.  Don't use the 'build' script.

Under FreeBSD, the functions normally provided by libdl are actually in
libc, so you can simply delete "-ldl" from the 'build' script.  Then
'build' will also work.

-Andy