Advertisement

01.25.2008 at 07:12AM PST, ID: 23111235
[x]
Attachment Details

Problems loading php-5.2.5 ebuild with postgres module into apache

Asked by cap2501 in Gentoo Linux, Apache Web Server, PostgreSQL Database

Tags: Gentoo

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.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.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
 
Loading Advertisement...
 
[+][-]01.25.2008 at 08:08AM PST, ID: 20743635

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.25.2008 at 08:27AM PST, ID: 20743821

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.25.2008 at 08:28AM PST, ID: 20743835

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.25.2008 at 08:35AM PST, ID: 20743888

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.25.2008 at 08:39AM PST, ID: 20743938

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.26.2008 at 11:35AM PST, ID: 20750937

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2008 at 07:05AM PST, ID: 20759500

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 05:33AM PST, ID: 20786314

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Gentoo Linux, Apache Web Server, PostgreSQL Database
Tags: Gentoo
Sign Up Now!
Solution Provided By: cap2501
Participating Experts: 2
Solution Grade: B
 
 
[+][-]02.03.2008 at 08:55PM PST, ID: 20812026

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.04.2008 at 06:13AM PST, ID: 20814369

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628