I get the following error message when I tried to compile nsjava.
I'm on HPUX 11 with jdk 1.17.
gcc -shared nsjava.o log.o set.o pg.o db.o javaevaltcl.o methods.o tclcalljava.o -lpthread -lpthread -L/opt/java/lib - ljava /home/aol30/sources/aolserver_src/aolserver/tcl8.3.2/unix/libtcl 8.3g.a /home/aol30/sources/aolserver_src/aolserver/thread/libnsthread. a -o libnsjava.so /usr/ccs/bin/ld: Can't find library for -ljava collect2: ld returned 1 exit status make[1]: *** [libnsjava.so] Error 1 make[1]: Leaving directory `/home/aol30/sources/nsjava-0.0.9/src' make: *** [all] Error 1I checked and these arguments that follow -ljava exist in my path. What is the problem. Thanks. My command line for configure:
./configure --with-aolserver- src=/home/aol30/sources/aolserver_src/aolserver --prefix=/home/aol30 - -with-jdk=/opt/java
Request notifications