| 
| Strange problem trying to use LDT on second machine [message #1416951] | Mon, 22 July 2013 11:52  |  | 
| Eclipse User  |  |  |  |  | Hi, I'm new to Lua, and LDT.  What I've seen with LDT is great but I'm having some challenges, the the current frustration is trying to duplicate the configuration for a project on my notebook that I finally got running on my desktop machine.
 
 Both machines are running Ubuntu 12.04 LTS.  I'm working with a project that uses lgi, and because I couldn't get the internal interpreters to work and play well with lgi I followed a suggestion to use the Lua version that is installed on my system.
 
 I set up both Lua 5.2 and Lua 5.1 which I have on my desktop.
 
 Note that from the command line I was able to build and test some simple GUI LUA programs with no problems.  And after much fiddling I was able to get things set up with the external interpreters so that I could build using Lua 5.2 and run the application with no problem from LDT.
 
 Of course I couldn't debug since I don't have a luasocket module for 5.2 yet, but I could run the applications in LDT.
 
 So next I wanted to set up the same thing on the notebook where I'm doing most of the actual devlopment work.
 
 As far as I can see I've duplicated the configuration the same as on the desktop but I'm hitting some issues on the notebook:
 
 When I attempt to run a program that previously worked in LDT (non-Gui, just hello world) If I use internal Lua 5.1 it works, including debugging as before.  But if I use the internal Lua 5.1 I get the following error:
 Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/bbick/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/org.eclipse.osgi/bundles/202/1/.cp/lib/libjnlua52.so: liblua52.so: cannot open shared object file: No such file or directory
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
 at java.lang.Runtime.loadLibrary0(Runtime.java:840)
 at java.lang.System.loadLibrary(System.java:1047)
 at com.naef.jnlua.NativeSupport$DefaultLoader.load(NativeSupport.java:76)
 at com.naef.jnlua.LuaState.<clinit>(LuaState.java:134)
 at org.eclipse.koneki.ldt.support.lua52.internal.interpreter.JNLua52Launcher.run(JNLua52Launcher.java:29)
 at org.eclipse.koneki.ldt.support.lua52.internal.interpreter.JNLua52Launcher.main(JNLua52Launcher.java:142)
 
 I've searched and liblua52.so is found here:
 /home/me/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/org.eclipse.osgi/bundles/202/1/.cp/lib/liblua52.so
 
 Note that this particular problem happens on both the desktop and the notebook.  If I use the Ubuntu Lua 5.2 it runs fine in LDT.
 
 Also there is no issue using the Ubuntu Lua 5.2 from the command line.  How do I go about tracking down the source of this particular problem?
 
 =====
 The other problem is that the lgi test GUI application.
 
 I can now get that to run fine in LDT on the desktop and notebook using the external Ubuntu Lua 5.2.
 
 But with the LDT internal Lua 5.2 I get the same error as above, and possible others if that is fixed.  Is there a chance that with the build path set that I could get lgi working with the internal Lua 5.2 to get debugging working, or is it not worth exploring?
 
 Thanks for any suggestions.  (I had done a search for anything related to liblua52.so in the forum and on Goole but haven't found anything useful).
 
 Burt
 |  |  |  | 
|  | 
|  | 
| 
| Re: Strange problem trying to use LDT on second machine [message #1416954 is a reply to message #1416953] | Thu, 25 July 2013 20:53  |  | 
| Eclipse User  |  |  |  |  | Thanks Marc, 
 I was going to respond that I'm running the 32 bit version of Ubuntu 12.04 LTS but I'd been cranking on the Lua application I had been charged with enhancing, so just got to surface for air.
 
 Glad that it appears that I am not the only one seeing the problem, and thanks for logging the bug.
 
 Burt
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03685 seconds