Applet error: unable to load library libn

Bug #121922 reported by Andy Tag
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

The applet start normally at this url:

http://www.managerzone.it/soccer3ddemo.php?id=demo&lang=it\',\'soccerflash\',\'resizable=no, scrollbars=no, toolbar=no, height=298,width=158, top=10

after i accept the certificate, then appear the error: unable to load library libn. (maybe libn is someother truncated by graphic).

Revision history for this message
Andy Tag (andtagmail-it) wrote :

I'm using Ubuntu 7.04. Plugin java and jvm installed on firefox. Same problem in 3 computers.

Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

Thanks for your bug report.

The error line says "unable to load library libneowebdriver.so". Google knows nothing about this file, shouldn't it be included in the jar file? Does it works in other operating systems (other linux distros, windows, macos, etc.)?
You should probably ask the applet developer for support.

Revision history for this message
Andy Tag (andtagmail-it) wrote :

I know that the applet work well on windows and also on fedoracore. Because of the last one i was thinking about a bug in ubuntu.

Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

I think I figure out what's happening.

In windows, the java applet tries to get this file: http://live.managerzone.com/applet/soccer3d/neowebdriver.dll and it exists, and it's the same with other files later.
In Linux, the java applet tries to get this file: http://live.managerzone.com/applet/soccer3d/libneowebdriver.so but it doesn't exist, and it shows you the error line.

You can check this by enabling your java console and reading the output.

So, how to fix this? Use System.loadLibrary() instead of System.load(). You can find an explanation here: http://www.inonit.com/cygwin/jni/helloWorld/load.html

I'm not sure why this applet works in Fedora, since java in Ubuntu is acting as it's supposed to be in linux.

I hope it helps.

Revision history for this message
Andy Tag (andtagmail-it) wrote :

I will leave this help to the applet programmer hoping to solve the problem.
Thank you for your help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.