lua - lupa not working on mac OSX 10.9.5 -
python 2.7.6 (v2.7.6:3a1db0d2747e, nov 10 2013, 00:42:54) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information. >>> lupa import * >>> lua=luaruntime() dyld: lazy symbol binding failed: symbol not found: _lual_newstate referenced from: /library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/lupa/_lupa.so expected in: flat namespace dyld: symbol not found: _lual_newstate referenced from: /library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/lupa/_lupa.so expected in: flat namespace [1] 11436 trace trap python
first uninstall lupa. install again with:
ldflags="-l/usr/local/bin/lua" pip install lupa==1.3 --no-binary :all:
note: above path lua binary default 1 on el capitan when installing lua via brew (brew install lua). might have change path lua binary if it's installed somewhere else, e.g. usr/bin/lua.
Comments
Post a Comment