Compiling 64 bit php on sun4u 2.10
From: Jace Freeman (jace.freeman_at_iinet.net.au)
Date: 01/31/05
- Next message: Dan Koren: "Re: encryption format of Solaris 8 passwords"
- Previous message: Barbie LeVile: "Re: Creation of solaris package larger than 2GB fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2005 02:44:05 -0800
Hi there,
Trying ever so diligently to get the last segment of my webserver
working - PHP. I have compiled everything; apache2, mysql, perl, DBI
connectors with m64 arch=v9 flags, but am struggeling to get php to
make.
My libraries:
LD_LIBRARY_PATH=/lib/sparcv9:/usr/local/ssl/lib:/usr/local/mysql/lib:usr/local/lib/gcc-lib/
sparc-sun solaris2.10/3.3.2/sparcv9/:
My configure:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/
CC=gcc CFLAGS="-mcpu=v9 -m64 -fno-omit-frame-pointer" \
LDFLAGS="-lsocket -lresolv -lnsl" \
./configure \
--prefix=/usr/local/php \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--with-apxs2=/usr/local/sbin/apxs \
--disable-cgi \
--with-openssl=/usr/local/ssl \
--with-mysql=/usr/local/mysql \
--with-pear
My make error:
main/internal_functions_cli.lo -lm -lgcc -lxml2 -lz -lm -lsocket -lnsl
-lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz
-lm -lsocket -lnsl -o sapi/cli/php
Undefined first referenced
symbol in file
dn_skipname ext/standard/dns.lo
res_nmkquery ext/standard/dns.lo
dn_expand ext/standard/dns.lo
res_nclose ext/standard/dns.lo
res_search ext/standard/dns.lo
res_ninit ext/standard/dns.lo
res_nsend ext/standard/dns.lo
inet_aton main/network.lo
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Apparently this could be something to do with automake not prepending
the symbols probably - well that is the most intelligent thing I have
drawn from my investigations. Any help would be good. I have tried
altering my path and libraries - including not setting LD~ as a global.
Thanks,
Jace
- Next message: Dan Koren: "Re: encryption format of Solaris 8 passwords"
- Previous message: Barbie LeVile: "Re: Creation of solaris package larger than 2GB fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|