Re: error starting apache after php-compile (undefined symbol: pg_encoding_to_char)
| From: | Patrick Meisel | Date: | Thu, 08 Aug 2002 09:57:44 +0000 |
| Subject: | Re: error starting apache after php-compile (undefined symbol: pg_encoding_to_char) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8047@lists.php.net to get a copy of this message | ||
Hello,
just found it out myself:
Apparently you need to compile postgres with "--enable-multibyte" to make it work with php 4.2.2.
This was not necessary with php 4.0.6 - don´t know about the versions in between.
Thanks for listening :-)
Patrick
Patrick Meisel wrote:
Hi, I just compiled apache 1.3.26 , postgres 7.2.1 and then php 4.2.2 There haven´t been any error messages during the build, but when I want to start apache I get: "Cannot load /usr/local/apache_2/libexec/libphp4.so into server: /usr/local/apache_2/libexec/libphp4.so: undefined symbol: pg_encoding_to_char" My configure options for php were: "./configure --with-apxs=/usr/local/apache_2/bin/apxs --with-config-file-path=/etc/apache_2/conf/ --with-mysql=/usr/ --with-pgsql=/usr/local/pgsql" I did have a postgres 7.1.3 from rpms on my system before (read somewhere that this might be an issue) but it was installed in another path. Does anybody have a clue on how I can get rid of this problem? Many Thanks in advance! Patrick-- com.plete networx Karlshof 10a55 64287 Darmstadt tel 06151 / 716496 fax 06151 / 716497 mail p.meisel@com.plete.net web http://com.plete.net ---------------------------