[zeromq-dev] send() cause core dump or system pending
dennis
dennis.disk at gmail.com
Sat Apr 13 04:27:05 CEST 2013
Dear Trevor
Thank for your reply.
I follow the bellowing step to build jzmq (same step on two machine)
-----------------------
git clone git://github.com/zeromq/libzmq.git
cd libzmq
./autogen.sh && ./configure && make && sudo make install && echo ":: ALL OK ::"
sudo cp src/.libs/libzmq.so /usr/local/lib
sudo ldconfig -v
ls -al /usr/local/lib/libzmq.*
export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64/"
echo $JAVA_HOME/bin/java
git clone https://github.com/zeromq/jzmq.git
cd jzmq
./autogen.sh && ./configure && make && sudo make install && echo ":: ALL OK ::"
-----------------------
here is all envirement
*********************(working machine zeromq-2.2.0)*********************
# uname -a
Linux first 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
root at Infostorm86:~# ls -al /usr/local/lib/libzmq.*
root at first:~# ls -al /usr/local/lib/*jzmq* /usr/local/share/java/*zmq*
-rw-r--r-- 1 root root 472460 Jan 17 18:09 /usr/local/lib/libjzmq.a
-rwxr-xr-x 1 root root 996 Jan 17 18:09 /usr/local/lib/libjzmq.la
lrwxrwxrwx 1 root root 16 Jan 17 18:09 /usr/local/lib/libjzmq.so
-> libjzmq.so.0.0.0
lrwxrwxrwx 1 root root 16 Jan 17 18:09 /usr/local/lib/libjzmq.so.0
-> libjzmq.so.0.0.0
-rwxr-xr-x 1 root root 214056 Jan 17 18:09 /usr/local/lib/libjzmq.so.0.0.0
-rw-r--r-- 1 root root 23128 Jan 17 18:09 /usr/local/share/java/zmq.jar
# readelf -h /usr/local/lib/libjzmq.so
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x1720
Start of program headers: 64 (bytes into file)
Start of section headers: 205280 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 7
Size of section headers: 64 (bytes)
Number of section headers: 35
Section header string table index: 32
*********************(not owrking zeromq-3.2.2)*********************
uname -a
Linux second 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
root at second:~/jzmq# ls -al /usr/local/lib/*jzmq* /usr/local/share/java/*zmq*
-rw-r--r-- 1 root root 484742 Apr 13 10:07 /usr/local/lib/libjzmq.a
-rwxr-xr-x 1 root root 996 Apr 13 10:07 /usr/local/lib/libjzmq.la
lrwxrwxrwx 1 root root 16 Apr 13 10:07 /usr/local/lib/libjzmq.so
-> libjzmq.so.0.0.0
lrwxrwxrwx 1 root root 16 Apr 13 10:07 /usr/local/lib/libjzmq.so.0
-> libjzmq.so.0.0.0
-rwxr-xr-x 1 root root 222666 Apr 13 10:07 /usr/local/lib/libjzmq.so.0.0.0
-rw-r--r-- 1 root root 40487 Apr 13 10:07 /usr/local/share/java/zmq.jar
# readelf -h /usr/local/lib/libjzmq.so
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x1a50
Start of program headers: 64 (bytes into file)
Start of section headers: 213664 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 7
Size of section headers: 64 (bytes)
Number of section headers: 35
Section header string table index: 32
More information about the zeromq-dev
mailing list