Unsatisfied symbol error upon compilation of apache for HPUX (611 Views)
Reply
Occasional Visitor
oremor_a1
Posts: 3
Registered: ‎08-30-2012
Message 1 of 6 (611 Views)

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.

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,901
Registered: ‎03-06-2006
Message 2 of 6 (604 Views)

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

Please use plain text.
Occasional Visitor
oremor_a1
Posts: 3
Registered: ‎08-30-2012
Message 3 of 6 (583 Views)

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

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,901
Registered: ‎03-06-2006
Message 4 of 6 (579 Views)

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.

Please use plain text.
Occasional Visitor
oremor_a1
Posts: 3
Registered: ‎08-30-2012
Message 5 of 6 (575 Views)

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.

 

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,901
Registered: ‎03-06-2006
Message 6 of 6 (568 Views)

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/

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation