LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2013, 11:37 PM   #1
awtz
LQ Newbie
 
Registered: Apr 2013
Location: Manila
Posts: 23

Rep: Reputation: Disabled
libXp.so.6: cannot open shared object file: No such file or directory


Hi All,

Please assist as I keep getting error

Error 500--Internal Server Error
java.lang.UnsatisfiedLinkError: /home/hpsindia/bea/jrockit81sp6_142_10/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Ljava.lang.String; )V(Native Method)
at java.lang.ClassLoader.loadLibrary0(Ljava.lang.Class;Ljava.io.File; )Z(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Ljava.lang.Class;Ljava.lang.String;Z)V(Unknown Source)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(Ljava.lang.String; )V(Unknown Source)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
at java.awt.Toolkit.(Toolkit.java:1458)
at java.awt.Color.(Color.java:250)
at net.sf.jasperreports.engine.xml.JRXmlConstants.getColor(JRXmlConstants.java:1251)
at net.sf.jasperreports.engine.xml.JRElementFactory.createObject(JRElementFactory.java:138)
at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
at org.apache.commons.digester.Digester.startElement(Digester.java:1361)
at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at weblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java :221)
at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:618)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595)
at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:748)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScann erImpl.java:747)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDoc umentFragmentScannerImpl.java:1477)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerIm pl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

[root@ACSS-SDDBEASRV02 ~]# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

[root@ACSS-SDDBEASRV02 ~]# uname -a
Linux ACSS-SDDBEASRV02 2.6.18-164.el5PAE #1 SMP Tue Aug 18 15:59:11 EDT 2009 i686 i686 i386 GNU/Linux
 
Old 04-17-2013, 11:56 PM   #2
awtz
LQ Newbie
 
Registered: Apr 2013
Location: Manila
Posts: 23

Original Poster
Rep: Reputation: Disabled
Also, checked the server and

[root@ACSS-SDDBEASRV02 /]# ls -ld /usr/lib/libXp.so.6
lrwxrwxrwx 1 root root 14 Apr 18 13:09 /usr/lib/libXp.so.6 -> libXp.so.6.2.0
[root@ACSS-SDDBEASRV02 /]#


is currently installed
 
Old 04-18-2013, 12:39 AM   #3
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 2,955

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
also try these:

Code:
ldd /home/hpsindia/bea/jrockit81sp6_142_10/jre/lib/i386/libawt.so
ldd /usr/lib/libXp.so
ldconfig -v | grep libXp # as root user
 
Old 04-18-2013, 12:49 AM   #4
awtz
LQ Newbie
 
Registered: Apr 2013
Location: Manila
Posts: 23

Original Poster
Rep: Reputation: Disabled
Result is:

[root@ACSS-SDDBEASRV02 ~]# ldd /home/hpsindia/bea/jrockit81sp6_142_10/jre/lib/i386/libawt.so
linux-gate.so.1 => (0x002a2000)
libmlib_image.so => not found
libjvm.so => not found
libXp.so.6 => /usr/lib/libXp.so.6 (0x00e37000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00110000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00f57000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00d4f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x005c9000)
libm.so.6 => /lib/libm.so.6 (0x00b57000)
libdl.so.2 => /lib/libdl.so.2 (0x009e0000)
libjava.so => not found
libc.so.6 => /lib/libc.so.6 (0x006cc000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00168000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x0016b000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00f2b000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00174000)
/lib/ld-linux.so.2 (0x0023e000)
[root@ACSS-SDDBEASRV02 ~]# ldd /usr/lib/libXp.so
ldd: /usr/lib/libXp.so: No such file or directory
[root@ACSS-SDDBEASRV02 ~]# ldconfig -v | grep libXp
libXpm.so.4 -> libXpm.so.4.11.0
libXp.so.6 -> libXp.so.6.2.0
 
Old 04-18-2013, 01:11 AM   #5
awtz
LQ Newbie
 
Registered: Apr 2013
Location: Manila
Posts: 23

Original Poster
Rep: Reputation: Disabled
NevemTeve, thanks for the assistance.

Issue is now solved. Re-installed jrockit and replaced the generated files with the new files.
 
Old 04-18-2013, 08:08 AM   #6
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 2,955

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Well you don't have to have /usr/lib/libXp.so, but it doesn't hurt if you have. In Debian it comes from package libxp-dev.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ??? Error: libXp.so.6: cannot open shared object file: No such file or directory castles Linux - Newbie 7 01-18-2012 01:49 PM
[SOLVED] cannot open shared object file: No such file or directory - but the file is there! Ook Slackware 5 08-24-2011 06:13 PM
Apache - cannot open shared object file: No such file or directory Braynid Linux - Software 6 03-26-2008 12:35 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 02:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 09:34 AM


All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration