Thread: compile error

compile error

From
Somazx Interesting
Date:
I'm attempting to upgrade to PHP 4.0.6. ./Config, make and make install all
go fine, but when I run apache I get the following error:

[root@localhost php-4.0.6]# apachectl start
Starting ApacheSyntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: pg_encoding_to_char
/usr/local/apache/bin/apachectl start: httpd could not be started

I recompiled php not long ago, just before upgrading to postgresql 7.1.2
without any problems - so maybe its related.

Can anyone help?

Thanks,
Andy.


Re: compile error

From
Somazx Interesting
Date:
>I'm attempting to upgrade to PHP 4.0.6. ./Config, make and make install
>all go fine, but when I run apache I get the following error:
>
>[root@localhost php-4.0.6]# apachectl start
>Starting ApacheSyntax error on line 207 of /usr/local/apache/conf/httpd.conf:
>Cannot load /usr/local/apache/libexec/libphp4.so into server:
>/usr/local/apache/libexec/libphp4.so: undefined symbol: pg_encoding_to_char
>/usr/local/apache/bin/apachectl start: httpd could not be started
>
>I recompiled php not long ago, just before upgrading to postgresql 7.1.2
>without any problems - so maybe its related.
>
>Can anyone help?

I went through the process again, and had no problems - sorry false alarm :)

Andy