[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua 5.2.3 on FreeBSD 10 no shared library
- From: Stefan Parvu <sparvu@...>
- Date: Sun, 29 Jun 2014 17:33:10 +0300
Hi,
I'm trying to compile lua 5.2.3 on FreeBSD 10 amd64 that I could use for RRDtool.
For some reasons lua builds fine but there is no shared library produced during building phase.
I have only a static library, under lib/
During building:
"make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -lreadline"
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c lapi.c
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c lcode.c
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c lctype.c
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c ldebug.c
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c ldo.c
cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c ldump.c
..."
$ ls -lrt /opt/sdr/lib/
total 388
drwxr-xr-x 3 sdr sdr 3 Jun 29 09:18 lua
-rw-r--r-- 1 sdr sdr 375916 Jun 29 17:28 liblua.a
Reading from docs I understood I should be able to obtain the shared library ... any ideas why
I'm not able to build lua correctly on FreeBSD ?
Many thanks,
--
Stefan Parvu <sparvu@systemdatarecorder.org>