https://issues.apache.org/bugzilla/show_bug.cgi?id=51719
Bug #: 51719
Summary: Compiling http-2.2.19 in 64-bit Undefined symbol
apr_md4_set_xlate
Product: Apache httpd-2
Version: 2.2.19
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
I am trying to compile http-2.2.19 with all modules on Solaris x86-64 and
getting the following error when gmake tries to build httpd:
Undefined first referenced
symbol in file
apr_md4_set_xlate server/.libs/libmain.a(exports.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
gmake[1]: *** [httpd] Error 1
I have compiled the following from source in 64-bit:
apr-1.2.2.tar libtool-2.4.tar
apr-1.4.5.tar libxml2-sources-2.7.8.tar
apr-util-1.3.12.tar mod_ssl-2.8.30-1.3.39.tar
db-5.2.28.NC.tar openldap-stable-20100719.tar
expat-2.0.1.tar openssl-1.0.0d.tar
gettext-0.18.1.1.tar php-5.3.6.tar
libiconv-1.13.1.tar zlib-1.2.5.tar
Here is my environment variables of significance:
LDFLAGS=-L/usr/local/apr/lib
MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/openwin/share:/usr/opt/SUNWmd/man:/opt/SUNWexplo/man:/usr/local/ssl/man:/usr/openwin/man:/usr/dt/man:/opt/VRTS/man
TERM=vt100
SHELL=/usr/bin/bash
CPPFLAGS=-I/usr/local/apr/include
LD_LIBRARY_PATH=/usr/lib/amd64:/usr/local/amd64/lib:/usr/sfw/lib/amd64:/usr/local/ssl/lib:/usr/local/lib:/lib:/usr/lib:/usr/lib/sparcv9:/usr/local/lib:/usr/local/ssl/lib:/usr/lib/sparcv9
PATH=/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/ucb/bin:/usr/opt/SUNWmd/sbin:/usr/sfw/bin:/usr/sfw/sbin:/usr/openwin/bin:/usr/ccs/bin:/usr/xpg4/bin:/root/bin
LANG=C
CC=/usr/sfw/bin/gcc -m64
Here is my Configure command:
./configure \
--prefix=/usr/apache64 \
--enable-so \
--enable-rewrite \
--enable-modules=all \
--enable-mods-shared=ssl \
--with-ssl=/usr/local/ssl \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr \
--target=x86_64-pc-solaris2.1x \
--build=x86_64-pc-solaris2.1x \
--with-expat=builtin \
--with-mpm=worker \
--enable-lib64 \
--with-ldap-lib=/usr/local/lib \
--with-ldap-include=/usr/local/include
The compile works fine without any modules but I need specifically for the ssl
module to work.
Thanks in advance.
Paul
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]