Re: php-4.1.1 vs. Solaris 5.8
| From: | Ron Clark | Date: | Wed, 23 Jan 2002 15:50:37 +0000 |
| Subject: | Re: php-4.1.1 vs. Solaris 5.8 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5701@lists.php.net to get a copy of this message | ||
Géczi Szabolcs wrote:
>
> Hello,
>
> I try to use php-4.1.1 with apache-1.3.22 on solaris 5.8
>
> I configured the php by this way :
>
> ./configure --with-gd=/usr/src/gd --with-pgsql=/usr/local/pgsql/
> --enable-track-vars --without-mysql
> --with-config-file-path=/usr/local/apache/conf/ --enable-gd-native-ttf
> --enable-inline-optimization --enable-freetype-4bit-antialias-hack
> --enable-calendar --enable-safe-mode --with-openssl=/usr/local/ssl/
> --enable-debug --with-apxs=/usr/local/apache/bin/apxs --enable-shared
> --with-gnu-ld --enable-gcclib
>
> During the compiling there was no error messages, but when I try to
> start the apache I got this:
>
> root@netra01 # /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
> symbol not found
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> Any idea ?
>
> p.s: I tried to use the solaris own make, and the gnu make the result
> was the same
Try compiling using the solaris ld instead of gnu. Had problems in the
past compiling using gnuld with solaris 8.
--
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353