The problem is the use of "strip" by Homebrew. You should not use
strip in executables that loads other objects, except when you provide
a list of the exported symbols that you want to keep (all lua_* and
luaL_* functions, basicall) to strip's -s option. Please refer the
Homebrew Lua maintainers to the strip man pages. :-)

--
Fabio Mascarenhas


On Tue, Jun 29, 2010 at 3:20 PM, Jim Whitehead II <[email protected]> wrote:
> On Tue, Jun 29, 2010 at 7:07 PM, Jim Whitehead II <[email protected]> wrote:
>> On Tue, Jun 29, 2010 at 6:51 PM, Fabio Mascarenhas <[email protected]> 
>> wrote:
>>> "make macosx" for me produces an executable that exports the correct
>>> symbols, unlike the one in your first listing... are you using the
>>> stock Lua makefiles or have they been changed for Homebrew?
>>>
>>> --
>>> Fabio Mascarenhas
>>>
>>>
>>> On Tue, Jun 29, 2010 at 2:33 PM, Jim Whitehead II <[email protected]> 
>>> wrote:
>>>> On Tue, Jun 29, 2010 at 6:23 PM, Fabio Mascarenhas <[email protected]> 
>>>> wrote:
>>>>> Check your "lua" executable, to see what symbols it is exporting. How
>>>>> did you compile it?
>>>>
>>>> It was compiled with make macosx; make install.
>>>>
>>>> http://pastey.net/138135
>>>>
>>>> The luaL_ symbols are present in liblua.a
>>>>
>>>> http://pastey.net/138136
>>
>> There are some minor differences (using cc instead of gcc and changing
>> /usr/local to another prefix, but other than that it's just lua-5.1.4
>> patchlevel 2. I'll try to post some more debug information in a
>> second.. having issues at the moment with luarocks just being a dummy
>> script ><
>
> Here's the verbose log from the install of lua:
>
> http://pastebin.ca/1891926
>
> and luarocks:
>
> http://pastebin.ca/1891927
>
> This is really beginning to annoy me =)
>
> - Jim
>>
>
> _______________________________________________
> Luarocks-developers mailing list
> [email protected]
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
>

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to