Menu

#1 problems running within 64bit environment on windows/linux

2.0
closed
Mitch
None
2014-07-28
2014-07-07
No

Hello,

from screenshot / running app the tool looks very nice.
I wanted to use it for some of our people which haven't much experience in administration/debugging to get quick SIP flows checked.

Sadly there is a problem with the sniffer module inclusion:

  • Windows 7 64bit system:
    ...\SIPFlow\2.5.0>sipflow_standard.bat
    Initializing logging with: ...\SIPFlow\2.5.0\cfg\log4j.properties
    PacketCapture: loading native library jpcap..
    ...
    Popup: "Unable to locate "jpcap library"
    ...
    Error loading necessary librariers - C:\Users\rkeller\Downloads\SIPFlow\2.5.0\lib\jpcap.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
    java.library.path = lib
    LD_LIBRARY_PATH = null

Starting SIPFlow Standard 2.5.0...

=> seems that only 32bit support of the dll is available and with IA architecture?

  • Debian Wheezy 7.0.5 64bit system:
    ./sipflow_standard.sh
    Initializing logging with: ~/SIPFlow/2.5.0/cfg/log4j.properties
    PacketCapture: loading native library jpcap.. OpenJDK 64-Bit Server VM warning: You have loaded library ~/SIPFlow/2.5.0/lib/libjpcap.so which might have disabled stack guard. The VM will try to fix the stack guard now.
    It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.</libfile>

Error loading necessary librariers - ~/SIPFlow/2.5.0/lib/libjpcap.so: ~/SIPFlow/2.5.0/lib/libjpcap.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
java.library.path = lib
LD_LIBRARY_PATH = ./lib

Starting SIPFlow Standard 2.5.0...

=> also only support for 32bit system is included ?

Would be nice to get 32 + 64 bit dlls/libs included or do you can force to use the java 32bit version if 32+64 bit versions are installed ?

Bests

Reiner

(PS: if posted twice then sorry; my browser crashed and actually I see no open ticket)

Discussion

  • Mitch

    Mitch - 2014-07-10

    Reiner,

    Are you running a 64 bit version of the Java VM? If so, have you tried running the 32 bit version? This post here (http://stackoverflow.com/questions/9483379/jpcap-dll-on-a-64-bit-system) seems to indicate that might help. Using the "-d32" option may help too.

    I'm able to run SIPFlow on my 64 bit version of Windows, but I'm using a 32 bit version of the JRE.

    Mitch

     
  • Mitch

    Mitch - 2014-07-28
    • status: open --> closed
     
  • Mitch

    Mitch - 2014-07-28

    Closing this ticket for now

     

Log in to post a comment.

MongoDB Logo MongoDB