Bug 5663

Summary: java.lang.UnsatisfiedLinkError: libEggTrayIcon
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 1632    

Description Sami Wagiaalla 2008-01-24 18:32:17 UTC
when run from the root directory FryskGui crashes:

frysk> ./frysk-gui/frysk/gui/FryskGui Exception in thread "main"
java.lang.UnsatisfiedLinkError: libEggTrayIcon: libEggTrayIcon.so: cannot open
shared object file: No such file or directory
   at java.lang.Runtime._load(libgcj.so.8rh)
   at java.lang.Runtime.loadLibrary(libgcj.so.8r
...

the relative path here:

 -L../frysk-gtk/EggTrayIcon 

is likely to be the cause
Comment 1 Andrew Cagney 2008-01-24 18:45:53 UTC
I'm not sure that this ever worked.

Try LD_LIBRARY_PATH=<egg-tray-so-directory> .../FryskGui

Two things determine of that .so is found:  The LD_LIBRARY_PATH / -rpath command
line option; and the -Djava.library.path=...

Comment 2 Mark Wielaard 2008-01-30 15:20:08 UTC
(In reply to comment #1)
> I'm not sure that this ever worked.

It worked previously. Although the workaround is easy.