Abstract
Libxp. so.6 is a library of xfree86. Generally, when you attempt to write a GUI written by Java, the above response message is displayed.
Introduction
Migration environment: centos 5.1 + JDK 1.4.2.17
The following warning information may appear during the execution of the GUI written in Java, such as MATLAB and Oracle.
Exception in thread " Main " Java. Lang. unsatisfiedlinkerror:/usr/Java/j2sdk1 . 4 . 2 _ 17 /JRE/lib/i386/libawt. So: libxp. So . 6 : Cannot open shared object file: no such file or directory
The reason is that libxp. so.6 library cannot be found under/usr/lib.
Solution
Step 1:
[ Root @ localhost/ ] # Yum install libxp. So . 6
Results
[ Root @ localhost/ ] # Yum install libxp. So . 6
Loading " Installonlyn " Plugin
Setting up install process
Setting up Repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libxp to pack into transaction set.
Libxp- 1.0.0 - 8.1 . El5.i386. 100 % | ====================================== | 6.9 KB 00 : 00
---> Package libxp. i386 0 : 1.0.0 - 8.1 . EL5 set to be updated
--> Running transaction check
Dependencies resolved
========================================================== ============================================
Package arch version repository size
========================================================== ============================================
Installing:
Libxp i386 1.0.0 - 8.1 . EL5 Base 23 K
Transaction Summary
========================================================== ============================================
Install1Package (s)
Update0Package (s)
Remove0Package (s)
Total download size: 23 K
Is this OK [ Y/n ] : Y
Downloading packages:
( 1 / 1 ): Libxp- 1.0.0 - 8.1 . El 35 % | ========== | 8.0 KB ( 1 / 1 ): Libxp- 1.0.0 - 8.1 . El 70 % | ======================== | 16 KB ( 1 / 1 ): Libxp- 1.0.0 - 8.1 . El 100 % | ====================================== | 23 KB 00 : 03
Running transaction Test
Finished transaction Test
Transaction test succeeded
Running transaction
Installing: libxp installing: libxp ##################### installing: libxp ##################### installing: libxp ###################### installing: libxp ###################### installing: libxp ######################## installing: libxp ######################## installing: libxp ######################## installing: libxp #########################[ 1/1 ]
Installed: libxp. i3860:1.0.0-8.1. EL5
Complete!