Re: Installed new SAMBA version, now FOP quits with Exception

2004-01-27 Thread Aleksandar Nikov
Hi Roland,

 I just installed a new version of samba and now FOP is no longer working 
 correctly. It always quits with the following error:
 
 Exception in thread main java.lang.UnsatisfiedLinkError: 
 /usr/local/j2re1.4.1_05/lib/i386/libawt.so: libXp.so.6: cannot open
 shared object file: No such file or directory
 
 I am running fop-0.20.5 and the file mentioned above does exist. I did no 
 changes to java or fop installation. Now I am quite
 helpless what to search for to solve this.

This is a linker error, most probably not connected to FOP.

You need to either:
   - add /usr/X11R6/lib in LD_LIBRARY_PATH environment variable
   - or add /usr/X11R6/lib in /etc/ld.so.conf

Maybe you should check /etc/ld.so.conf first. 
It is possible that samba installation made changes to this file...

You can verify if linker finds the needed libraries with:
$ ldd /usr/local/j2re1.4.1_05/lib/i386/libawt.so
You should have a line like:
  libXp.so.6 = /usr/X11R6/lib/libXp.so.6


Regards,
Alex


Aleksandar Nikov [EMAIL PROTECTED]
Netcetera Engineering phone +389 2 30 64 532
1000 Skopje, Macedonia  fax +389 2 30 79 495


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installed new SAMBA version, now FOP quits with Exception

2004-01-27 Thread Aleksandar Nikov
Hi Roland,

 I tried to set the LD_LIBRARY_PATH right before calling the fop shell script. 
 Same situation.
 Then i looked for the /etc/ld.so.conf ... i do not have that file.

You should export the variable before calling the fop shell script:
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib
$ export LD_LIBRARY_PATH
$ ... then run the fop shell script

 As I found all of the listed files somewhere, the path where fop 
 (or whatever) looks for them must be configured wrong.

The path depends on unix version.
As this is not a FOP problem, please write me directly which unix you
have. You can also try looking in the man pages for ld, ldd, ldconfig and 
ld.so to see what is the search path for the libraries.

Regards,
Alex


Aleksandar Nikov [EMAIL PROTECTED]
Netcetera Engineering phone +389 2 30 64 532
1000 Skopje, Macedonia  fax +389 2 30 79 495


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]