[Buildroot] [PATCH 09/12] luaposix: New package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jun 20 06:10:06 UTC 2013
Dear Assaf Inbal,
On Thu, 20 Jun 2013 07:45:26 +0300, Assaf Inbal wrote:
> >
> > Care to resend with these issues fixed? Thanks.
>
>
> See attached.
+# Luaposix attempts to run Lua as a part of the configure proccess, it needs to
+# find the location of liblua.so in order for the binary to execute
+LUAPOSIX_CONF_ENV = LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib"
I still don't quite understand why this is needed. All binaries built
and installed in $(HOST_DIR)/usr/bin are compiled with a RPATH of
$(HOST_DIR)/usr/lib, so normally, passing a LD_LIBRARY_PATH is not needed.
Can you check if the host lua in $(HOST_DIR)/usr/bin/ has the correct
RPATH, by doing:
readelf -d $(HOST_DIR)/usr/bin/lua | grep RPATH
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list