Here is the output:

[r...@pbx test]# ls
CheckLibrary.class
[r...@pbx test]# export LD_LIBRARY_PATH=/usr/share/java/sipXecs/sipXcommons
[r...@pbx test]# java -cp . CheckLibrary hostname
Failed
java.lang.UnsatisfiedLinkError: /usr/share/java/sipXecs/sipXcommons/libhostname.so: /usr/share/java/sipXecs/sipXcommons/libhostname.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at CheckLibrary.main(CheckLibrary.java:4)
[r...@pbx test]# java -cp . CheckLibrary ssl
Failed
java.lang.UnsatisfiedLinkError: no ssl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at CheckLibrary.main(CheckLibrary.java:4)
[r...@pbx test]#



On 9/17/2010 2:57 PM, Douglas Hubler wrote:
Attached is a tool to check loading a system library. Download the
.class file to a directory and run the following in that directory:

export LD_LIBRARY_PATH=/usr/share/java/sipXecs/sipXcommons
java -cp . CheckLibrary hostname
java -cp . CheckLibrary ssl

I've attached the source file in case you're curious or wish to
compile it yourself.

I also found in the source something that tries to look for .so in
certain paths so if this work, then the bug is probably in the path
parsing code.

On Fri, Sep 17, 2010 at 3:45 PM, Matthew Kitchin (public/usenet)
<mkitchin.pub...@gmail.com>  wrote:
I am not using the ISO.
I am doing a fresh CentOS 5.5 64 Bit install and installing Sipx by yum
No torrents or ISOs involved.
I have not tried updating from 4.2.0 to 4.2.1. I would prefer not to go that
route if possible.
I'm hoping we will get to the bottom of it as I need to deploy a system in
about 2 weeks. I can sort of  workaround the one symptom I am seeing, but
I'm worried I may come across other problems I haven't seen yet.

On 9/17/2010 2:33 PM, Tony Graziano wrote:

Understood, I cannot duplicate it on newer systems, but... if you yum your
4.2.0 to 4.2.1 does it still give you the same issue? I am not promoting
going to 4.3 to get around or test that (yet).
Are you using this ISO?
sipxecs-4.2.1-100820-x86_64.iso
Checksum passed? Torrent or ISO?
If torrent, consider an ISO download (http)...
http://s3.amazonaws.com/sipXecs-pub/sipxecs-4.2.1-100820-x86_64.iso
On Fri, Sep 17, 2010 at 3:05 PM, Matthew Kitchin (public/usenet)
<mkitchin.pub...@gmail.com>  wrote:
  On 9/17/2010 10:32 AM, Matthew Kitchin (public/usenet) wrote:
  On 9/17/2010 10:07 AM, Douglas Hubler wrote:
Exit that process by hitting Ctrl-C

Then type
    export LD_LIBRARY_PATH=/usr/share/java/sipXecs/sipXcommons
    su - sipxchange /usr/bin/sipxprovision.sh
[r...@pbx authorities]# export
LD_LIBRARY_PATH=/usr/share/java/sipXecs/sipXcommons
[r...@pbx authorities]# su - sipxchange /usr/bin/sipxprovision.sh
/usr/bin/sipxprovision.sh: line 47: setTruststoreOpts: command not found
Hello world!
Hostname support not available: Failed to load library: libhostname.so

I am positive this issue was introduced (for me at least) at 4.2.1.
I just built 2 identical CentOS 5.5 64 bit systems from scratch. I
followed the exact same steps for both. The only difference is one is
4.2.0, and one is 4.2.1. I did nothing more after running the sipx setup
program. 4.2.0 is fine, 4.2.1 is broken. Output is below. I will be glad
to allow remote access to these 2 machines if someone wants to take a
peek. These are obviously both test machines, so I can do whatever is
needed with them.

[r...@sipx-4-2-0 ~]# su - sipxchange /usr/bin/sipxprovision.sh
/usr/bin/sipxprovision.sh: line 47: setTruststoreOpts: command not found
Hello world!

[r...@sipx-4-2-1 ~]# su - sipxchange /usr/bin/sipxprovision.sh
/usr/bin/sipxprovision.sh: line 47: setTruststoreOpts: command not found
Hello world!
Hostname support not available: Failed to load library: libhostname.so


Thanks,
Matthew

_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/


--
======================
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.984.8431

Email: tgrazi...@myitdepartment.net

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net
Fax: 434.984.8427

Helpdesk Contract Customers:
http://www.myitdepartment.net/gethelp/

Why do mathematicians always confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.


_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/



_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to