hello all
i trying to compile zeromq jzmq lib in linux ,
but when i get error when the make gettes to this point :

     jzmq-master$ jar cf  zmq.jar org/zeromq/*.class
    Error: could not find libjava.so
    Error: could not find Java 2 Runtime Environment.

i do have all java jdk installed m and its the only java i have in the system:
i did :

    @ubuntu:/usr/lib/jvm$ ls -l $(locate libjava.so)
    -rwxr-xr-x 1 root root 189222 2012-09-24 12:09
/usr/lib/jvm/jre/lib/i386/libjava.so

and this :

    /usr/bin$ ldconfig -p | grep java
        libjavaplugin_nscp_gcc29.so (libc6, hwcap: 0x0001000000000000) =>
/usr/lib/jvm/jre/lib/i386/libjavaplugin_nscp_gcc29.so
        libjavaplugin_nscp.so (libc6, hwcap: 0x0001000000000000) =>
/usr/lib/jvm/jre/lib/i386/libjavaplugin_nscp.so
        libjavaplugin_jni.so (libc6, hwcap: 0x0001000000000000) =>
/usr/lib/jvm/jre/lib/i386/libjavaplugin_jni.so
        libjava_crw_demo.so (libc6, hwcap: 0x0001000000000000) =>
/usr/lib/jvm/jre/lib/i386/libjava_crw_demo.so
        libjava.so (libc6, hwcap: 0x0001000000000000) =>
/usr/lib/jvm/jre/lib/i386/libjava.so

and this is how my  vim /etc/ld.so.conf looks like :

    include /etc/ld.so.conf.d/*.conf
    /home/umen/dev/downlaod/zeromq-3.2.1/src/.libs
    /usr/lib/jvm/jre/lib/i386
    /usr/lib/jvm/jre/lib/i386/jli

and even checked this:

    ldd java
        linux-gate.so.1 =>  (0x00a2a000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x001d1000)
        libjli.so => /usr/lib/jvm/jre/lib/i386/jli/libjli.so (0x00321000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00130000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00643000)
        /lib/ld-linux.so.2 (0x00887000)



all looks right but no matter what i still get this error.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to