back2dos / travix

Travis helper.
The Unlicense
33 stars 12 forks source link

Lua setup is broken on OSX #78

Closed RealyUniqueName closed 6 years ago

RealyUniqueName commented 6 years ago

Using latest release from haxelib:

$ haxelib run travix lua
> brew update
> luarocks --version
/usr/local/bin/luarocks 2.4.3
LuaRocks main command-line interface
> lua -v
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> haxe -lua bin/lua/tests.lua -lib travix -lib utest tests.hxml
> lua bin/lua/tests.lua
lua: error loading module 'rex_pcre' from file '/usr/local/lib/lua/5.3/rex_pcre.so':
    dlopen(/usr/local/lib/lua/5.3/rex_pcre.so, 6): Symbol not found: _luaL_optint
  Referenced from: /usr/local/lib/lua/5.3/rex_pcre.so
  Expected in: flat namespace
 in /usr/local/lib/lua/5.3/rex_pcre.so
stack traceback:
    [C]: in ?
    [C]: in function 'require'
    bin/lua/tests.lua:63: in main chunk
    [C]: in ?

https://travis-ci.org/haxe-utest/utest/jobs/312804603#L1605

RealyUniqueName commented 6 years ago

This could shed some light on this issue: https://github.com/rrthomas/lrexlib/pull/23

sebthom commented 6 years ago

Should be solved since https://github.com/back2dos/travix/commit/dcd33240790415462ef1bf7aa9b1b5ef1b7daad8#diff-d3465a8b0fb3a6d760d7aa2bd1ad3da0