vancegroup / lua-voce

Lua binding to Voce
Boost Software License 1.0
2 stars 0 forks source link

xawt Java Library Issue #3

Open carlsonp opened 12 years ago

carlsonp commented 12 years ago

Problem:

require("luavoce") error loading module 'luavoce' from file './luavoce.so': libmawt.so: cannot open shared object file: No such file or directory

Workaround:

1) Use export LD_LIBRARY_PATH and point to xawt

2) Essentially do the same thing in cmake, see hash: 1164d6b0bad95a010009327f0c20ae774ecafdfa

Not a great solution currently but it does work.

rpavlik commented 12 years ago

So I don't believe we're actually needing the awt libraries. Might consider just replacing the ${JNI_LIBRARIES} part of CMakeLists.txt with ${JAVA_JVM_LIBRARY} to just link against the jvm.