firmdl problem "java.lang.UnsatisfiedLinkError:"

This is where you talk about the RCX software itself, installation issues, and programming talk.

Moderator: roger

firmdl problem "java.lang.UnsatisfiedLinkError:"

Postby Uru Moonshadow » Sat Jan 02, 2010 10:18 am

Hi there,
I have just started using leJOS on ubuntu 9.10 and am having a small problem. After a tweaking the Makefiles (java version from 1.1 to 1.5 and a small syntax error in one of the C files) I am unable to run the firmdl utility as it throws up an exception when I do.

Using leJOS 2.1.0 (Latest from the website)

Code: Select all
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/uruwolf/lejos_2_1_0/bin/libirtower.so: libstdc++.so.5: 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:1758)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1683)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1028)
   at josx.rcxcomm.Tower.<clinit>(Tower.java:126)
   at js.tools.Download.open(Download.java:19)
   at js.tools.Firmdl.main(Firmdl.java:204)

Uru Moonshadow
New User
 
Posts: 2
Joined: Sat Jan 02, 2010 10:12 am

Postby tsinn » Wed Feb 17, 2010 11:30 pm

Did you set LD_LIBRARY_PATH to $LEJOS_HOME/bin?
(I also set DYLD_LIBRARY_PATH to include with also)

Also, there was an issue with the tower and newer versions of the linux kernel (search the boards here). Make sure you get the latest source via CVS (again, check the boards here on how to do that)
tsinn
New User
 
Posts: 4
Joined: Fri Jan 22, 2010 2:55 am


Return to RCX Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff