[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling "loadlib"
- From: Andy Sloane <andy@...>
- Date: Tue, 1 Jun 2004 12:19:20 -0500
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
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.