thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helium Soule <>
Subject Building Lua Library
Date Fri, 24 Jun 2016 14:07:07 GMT

I'm working with Apache Thrift to connect a Node.js client with a Lua
server and while performing

sudo make install

to build the libraries, I receive the following error stack:

libtool: relink: gcc -shared  -fPIC -DPIC
src/.libs/libluabpack_la-luabpack.o   -llua5.2 -ldl -lm -L/usr/local/lib
-llualongnumber -lssl -lcrypto -lrt -lpthread  -O2   -Wl,-soname
-Wl, -o .libs/
/usr/bin/ld: cannot find -llualongnumber
collect2: error: ld returned 1 exit status
libtool: install: error: relink `' with the above command
before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/tmp/thrift-0.9.3/lib/lua'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/thrift-0.9.3/lib/lua'
make: *** [install-recursive] Error 1

I know that the error is due to the library lualongnumber not being found
by LD, but I don't know where to find the .so or .a files that it is
looking for because .la files are created by the makefile.

Thanks for the help!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message