MSS -- FAILED libXi.so.6: cannot open shared object file

2,652 views
Skip to first unread message

yvon colin

unread,
Nov 28, 2011, 11:01:22 AM11/28/11
to mobicents-public

hi room ,
i am trying to start  mss1.6.
I follow the steps bellow :
● Unzip it in your favorite location
● Configure $JBOSS_HOME env var targetting the newly created dir.
● Start it through sh $JBOSS_HOME/bin/run.sh
 
The server start but i have this java exception

java.lang.UnsatisfiedLinkError: /root/jdk1.6.0_29/jre/lib/amd64/xawt/libmawt.so: libXi.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1003)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)

I thougt i was a library problem! i installed libXi.so.6 but i still have the same exception.
Thanks,
--
Yvon

Bartosz Baranowski

unread,
Nov 28, 2011, 11:30:27 AM11/28/11
to mobicent...@googlegroups.com
LD_LIBRARY_PATH? .so file may not be visible to binary.
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.

Jean Deruelle

unread,
Nov 28, 2011, 3:10:34 PM11/28/11
to mobicent...@googlegroups.com
Your issue is unrelated to JBoss or Mobicents but more to java install but you seem to be missing some ubuntu packages for x11
On Mon, Nov 28, 2011 at 5:01 PM, yvon colin <colin...@gmail.com> wrote:

yvon colin

unread,
Nov 29, 2011, 4:06:27 AM11/29/11
to mobicent...@googlegroups.com
@ Bartosz echo $LD_LIBRARY_PATH  give nothing
@Jean everything works great before. I did not hove this kind of problem

2011/11/28 Jean Deruelle <jean.d...@gmail.com>



--
Yvon Colin
-------------------------------------------------------------------------------------------------------------- 
Ingénieur Télécommunication, traitement de donnée et multimédia 
(ENSSAT)
Tel : 06 27 81 72 75
--------------------------------------------------------------------------------------------------------------


yvon colin

unread,
Nov 29, 2011, 7:50:32 AM11/29/11
to mobicent...@googlegroups.com
Problem solved. i don't know why the library disapeared i just reinstall "libXi.so.6" for 32 and 64 machine. And now my baby soft works like a charme
steps :
first of all i do
  •  locate -i libXi.so.6
 
i don't see anything, so i do :
  •  yum provides *bin/libXi.so 
  •  yum install libXi.so.6

i do it twice fo 64 machine
  • yum provides *bin/libXi.so 
  • yum install /usr/lib64/libXi.so
And now after a  updatedb command if you do :
  •  locate -i libXi.so.6
  You can see
      /usr/lib/libXi.so.6
       /usr/lib/libXi.so.6.0.0
      /usr/lib64/libXi.so.6
      /usr/lib64/libXi.so.6.0.0

Thanks a lot guys


2011/11/29 yvon colin <colin...@gmail.com>

Jean Deruelle

unread,
Nov 29, 2011, 8:14:49 AM11/29/11
to mobicent...@googlegroups.com
Thanks for having posted the steps to solve your issue, this is always highly appreciated
Reply all
Reply to author
Forward
0 new messages