Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Unsatisfied symbol error upon compilation of apache for HPUX

Highlighted
oremor_a1
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
Dennis Handly
Acclaimed Contributor

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

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

oremor_a1
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

 

 

Dennis Handly
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.

oremor_a1
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.

 

 

 

Dennis Handly
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/