Hello. I'm in desperate need of some help. My production environment, I'm running Litespeed, so I would like to mirror that in my development environment.
My development environment is Mac OS X 10.6.7. I'm able to install and run Litespeed. I'm even able to access the Litespeed admin. While I'm in the Litespeed admin, I'm using the compile PHP feature.
I can get to the point where I'm compiling the PHP, but then I always run into this error during the MAKE process and it fails to compile the PHP.
Here's my MAIN STATUS message...
Here's the log where the ERROR happens.
Any help would be much appreciated!!!
My development environment is Mac OS X 10.6.7. I'm able to install and run Litespeed. I'm even able to access the Litespeed admin. While I'm in the Litespeed admin, I'm using the compile PHP feature.
I can get to the point where I'm compiling the PHP, but then I always run into this error during the MAKE process and it fails to compile the PHP.
Here's my MAIN STATUS message...
Code:
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1307565858.7.progress
Start building PHP 5.3.6 with LSAPI
Configuring PHP build (2-3 minutes)
Compiling PHP (5-10 minutes)
**ERROR** Could not compile PHP
Code:
sapi/litespeed/lsapi_main.o sapi/litespeed/lsapilib.o main/internal_functions.o -lz -lexslt -liconv -liconv -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -licucore -lm -lcurl -lxml2 -lz -licucore -lm -lmysqlclient -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxslt -lxml2 -lz -licucore -lm -o sapi/litespeed/php
Undefined symbols:
"_res_9_dn_expand", referenced from:
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_zif_dns_get_mx in dns.o
"_res_9_search", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_mx in dns.o
_zif_dns_get_record in dns.o
"_res_9_init", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_mx in dns.o
_zif_dns_get_record in dns.o
"_res_9_dn_skipname", referenced from:
_zif_dns_get_mx in dns.o
_zif_dns_get_mx in dns.o
_zif_dns_get_record in dns.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
**ERROR** Could not compile PHP