[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Undefined symbol loading lrexlib-tre
- From: Jay Carlson <nop@...>
- Date: Fri, 30 Nov 2012 18:41:44 -0500
On Nov 30, 2012, at 5:50 PM, Chris Babcock wrote:
> On Fri, Nov 30, 2012 at 3:11 PM, Jay Carlson <nop@nop.com> wrote:
>> On Nov 30, 2012, at 4:31 PM, Chris Babcock wrote:
>>
>>> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
>>>> require "rex_tre"
>>> error loading module 'rex_tre' from file
>>> '/home/usak/.luarocks/lib/lua/5.1/rex_tre.so':
>>> /home/usak/.luarocks/lib/lua/5.1/rex_tre.so: undefined symbol: tre_reganexec
>>>
>>> $ LD_DEBUG=symbols lua
> 19049: symbol=tre_reganexec; lookup in
> file=/home/usak/.luarocks/lib/lua/5.1/rex_tre.so [0]
It found rex_tre.so.
> 19049: symbol=tre_reganexec; lookup in file=/usr/local/lib/libtre.so.4 [0]
$ nm -D /usr/local/lib/libtre.so.4 | grep re_reganexec
I think you're out of date. Browsing the 0.8.0 sources I see in lib/Makefile.am:
libtre_la_LDFLAGS = -no-undefined -version-info 5:0:0 $(LDFLAGS)
This should produce a shared library with a basename like libtre.so.5 instead of 4.
Jay