After building the new 5.2.5-r1 ( I also tried the 5.2.4 ebuild) I cannot load the shared object into apache. When I try to start apache I get:
"apache2: Syntax error on line 152 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_
mod_php5.c
onf: Cannot load /usr/lib/apache2/modules/l
ibphp5.so into server: /usr/lib/apache2/modules/l
ibphp5.so:
undefined symbol: PQescapeByteaConn"
It was built using the following flags:
[ebuild R ] dev-lang/php-5.2.5-r1 USE="apache2 crypt curl gdbm iconv kerberos ldap mssql mysql ncurses nls pcre postgres readline reflection session spl ssl unicode xml zlib -adabas -bcmath -berkdb -birdstep -bzip2 -calendar -cdb -cgi -cjk -cli -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -ldap-sasl -libedit -mcve -mhash -msql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB
Googling PQescapeByteaConn shows that it is part of the postgres module and if I use the -postgres use flag then apache will load php and start.
I am upgrading from 5.1 (or something thereabouts) and it was working then. I have tried 5.2.4 which is the only other one in the current portage tree but it has the same problem.
Any Ideas?
Start Free Trial