https://bz.apache.org/bugzilla/show_bug.cgi?id=65542

            Bug ID: 65542
           Summary: Apache httpd 2.4.48 compilation fails on Solaris 10
                    X86 - Linker Problem
           Product: Apache httpd-2
           Version: 2.4.48
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I am experiencing errors while trying to compile apache-2.4.48 on a Solaris 10
X86 machine. I had no issues using the same machine to compile 2.4.46 before. 

The error I get is:

bash-3.2$ libtool --silent --mode=link gcc -std=gnu99  -g -O2  -o ab  ab.lo 
-lz  apache_upgrade_2.4.48/httpd-2.4.48/srclib/apr-util/libaprutil-1.la -lexpat
apache_upgrade_2.4.48/httpd-2.4.48/srclib/apr/libapr-1.la -luuid -lsendfile
-lrt -lsocket -lnsl -lpthread -lm -lssl -lcrypto -luuid -lsendfile -lrt
-lsocket -lnsl -lpthread

Undefined                       first referenced
symbol                             in file
TLSv1_2_client_methods               ab.o
TLSv1_1_client_method               ab.o
BIO_set_callback                    ab.o
EVP_PKEY_id                         ab.o
BIO_set_callback_arg                ab.o
BIO_get_callback_arg                ab.o
SSL_CTX_set_info_callback           ab.o
ld: fatal: symbol referencing errors. No output written to .libs/ab
collect2: ld returned 1 exit status

My OpenSSL compilation was successful and I exported the LD_LIBRARY_PATH to
point to the correct location. 

my compilation flages are:

export CFLAGS=-m32
export LD_LIBRARY_PATH=$APACHEDIR/lib

./configure --prefix=$APACHEDIR --disable-proxy_express
--disable-proxy_balancer --enable-deflate=static --enable-cgi=static
--enable-dir=static --enable-ssl=static --enable-pcre=static
--enable-unixd=static --enable-
alias=static --enable-setenvif=static --enable-log-config=static
--enable-deflate=static --enable-filter=static --enable-socache-dbm=static
--enable-mime=static --enable-authz-core=static --enable-authz-host=static --
enable-proxy=static --enable-proxy-http=static --enable-rewrite=static
--enable-headers=static --enable-cache=static --enable-cache-disk=static
--enable-dav=static --enable-autoindex=static --enable-reqtimeout=static
--enable-mime_magic=static --with-mpm=prefork --with-ssl=$APACHEDIR/
--with-module=sigvalidate:apache_upgrade_2.4.48/mod_sigvalidate.c
--with-included-apr --with-pcre=$APACHEDIR --with-zlib=$APACHEDIR

Build is done using: apr-1.7.0 and apr-util-1.6.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to