Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Unsatisfied symbol error upon compilation of apache for HPUX

Highlighted
Occasional Visitor

Unsatisfied symbol error upon compilation of apache for HPUX

I am installing apache 2.2.22 on HP UX B.11.23 U ia64 but encountered the below errors during the make command:

 

Errors encountered:

Making all in support

        /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread        -o htdigest  htdigest.lo   -lm /home/vdirecto/bkup/httpd-2.2.22/srclib/pcre/libpcre.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/libaprutil-1.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/xml/expat/libexpat.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libapr-1.la -lrt -lm -lpthread

        /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread        -o logresolve  logresolve.lo   -lm /home/vdirecto/bkup/httpd-2.2.22/srclib/pcre/libpcre.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/libaprutil-1.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/xml/expat/libexpat.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libapr-1.la -lrt -lm -lpthread

        /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread        -o ab  ab.lo   -lm /home/vdirecto/bkup/httpd-2.2.22/srclib/pcre/libpcre.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/libaprutil-1.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr-util/xml/expat/libexpat.la /home/vdirecto/bkup/httpd-2.2.22/srclib/apr/libapr-1.la -lrt -lm -lpthread -lssl -lcrypto -lrt -lm -lpthread

ld: Unsatisfied symbol "BIO_get_callback_arg" in file .libs/ab.o

ld: Unsatisfied symbol "SSL_CTX_set_info_callback" in file .libs/ab.o

ld: Unsatisfied symbol "BIO_set_callback" in file .libs/ab.o

ld: Unsatisfied symbol "BIO_set_callback_arg" in file .libs/ab.o

4 errors.

collect2: ld returned 1 exit status

*** Error exit code 1

 

Stop.

*** Error exit code 1

 

Stop.

*** Error exit code 1

 

Stop.

 

5 REPLIES
Acclaimed Contributor

Re: Unsatisfied symbol error upon linking of Apache for HP-UX

[ Edited ]

The error messages tell you where the call sites are.

Can you scan the sources to see where the definition is?

You can look at objects and libs with:

nm -pxAN *.o *.a *.so

Occasional Visitor

Re: Unsatisfied symbol error upon linking of Apache for HP-UX

Sorry for the late response. Output of the nm did not yield anything but I was able to find the libraries in the below locations:

 

./home/vdirecto/bkup/httpd-2.2.22/support/.libs/ab.o
 
-rw-r--r--   1 root       sys         166728 Aug 30 10:31 ab.o
 
./home/vdirecto/bkup/httpd-2.2.22/support/ab.o
 
-rw-r--r--   1 root       sys         166728 Aug 30 10:31 ab.o

 

 

Acclaimed Contributor

Re: Unsatisfied symbol error upon linking of Apache for HP-UX

>I was able to find the libraries in the below locations:

 

ab.o is an object file, the ones with the unsats.  You need to find the definitions, either in other objects, archives or shlibs.

Occasional Visitor

Re: Unsatisfied symbol error upon linking of Apache for HP-UX

Sorry about that.  Unfortunately, we could not find any objects/files referencing the definitions.

 

 

 

Acclaimed Contributor

Re: Unsatisfied symbol error upon linking of Apache for HP-UX

>Unfortunately, we could not find any objects/files referencing the definitions.

 

How about scanning your source files?

You may want to ask mr google for help:

http://www.linuxquestions.org/questions/linux-software-2/apache-2-2-8-ssl-issues-after-make-652738/