I've resolved the issue but if someone could point me to where the
require('ThriftTest_ThriftTest') module referenced in test_basic_server.lua
and test_basic_client.lua is located, that would be really helpful. I've
done a file search in the Git repo
<https://github.com/apache/thrift/search?utf8=%E2%9C%93&q=ThriftTestIface>
and nothing shows up.
Thanks again!
On Fri, Jun 24, 2016 at 10:07 AM, Helium Soule <[email protected]>
wrote:
> Hello,
>
> 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,libluabpack.so.0 -o .libs/libluabpack.so.0.0.0
> /usr/bin/ld: cannot find -llualongnumber
> collect2: error: ld returned 1 exit status
> libtool: install: error: relink `libluabpack.la' 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!
>
> Sincerely,
> hsoule.
>
>