473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Install issue: undefined symbol: php_escape_html_entities

I compiled php5 from source with the following configure options:

../configure --with-mysql --disable-xml --disable-libxml
--disable-xmlreader --disable-xmlwriter --disable-dom
--disable-simplexml --without-pear
--with-config-file-path=/etc/php5.ini --with-apxs2

However, I can't get apache to start afterwards, as I get the following
error:

Cannot load /usr/lib/httpd/modules/libphp5.so into server:
/usr/lib/httpd/modules/libphp5.so: undefined symbol:
php_escape_html_entities

I've googled for this and searched the mailing lists and documentation,
but short of tearing into the source code, I can't find any info on
php_escape_html_entities, much less why the symbol would be missing...

Any ideas would be much appreciated.

May 5 '06 #1
5 9796
se********@hifiit.com wrote:
I compiled php5 from source with the following configure options:

./configure --with-mysql --disable-xml --disable-libxml
--disable-xmlreader --disable-xmlwriter --disable-dom
--disable-simplexml --without-pear
--with-config-file-path=/etc/php5.ini --with-apxs2

However, I can't get apache to start afterwards, as I get the
following error:

Cannot load /usr/lib/httpd/modules/libphp5.so into server:
/usr/lib/httpd/modules/libphp5.so: undefined symbol:
php_escape_html_entities


I believe apxs2 has some dependencies in the xml extenstions; try to run
configure with xml/libxml support enabled.
JW
May 6 '06 #2
I am having the same problem on Ubuntu with the following config
options:
./configure --with-gd --with-ldap --with-tidy --with-mysql --with-curl
--with-zlib --with-apxs --with-xml --with-libxml --enable-xml
--with-dom
I get the same error message...

May 10 '06 #3

jambe wrote:
I am having the same problem on Ubuntu with the following config
options:
./configure --with-gd --with-ldap --with-tidy --with-mysql --with-curl
--with-zlib --with-apxs --with-xml --with-libxml --enable-xml
--with-dom
I get the same error message...


I was having the same problem on rhel4 so then I did a;

../configure --disable-all --prefix=/www --with-apxs2=/www/bin/apxs
--disable-cgi --enable-so

which worked.

So then I followed up with

../configure --with-curl [etc, etc, etc] --prefix=/www
--with-apxs2=/www/bin/apxs --disable-cgi --enable-so

just for the modules that I needed and it worked. I don't know if it
is a make file problem or something else.

May 16 '06 #4
I have it working now (i think).

php-5.1.4 # make clean

php-5.1.4 # ./configure --with-gd --with-ldap --with-tidy --with-mysql
--with-curl --with-zlib --with-apxs --with-xml --with-libxml
--enable-xml --with-dom

php-5.1.4 # make

php-5.1.4 # make install

Thanks for your help...

James

May 16 '06 #5
--enable-so fixed it for me :)

I had the same problem with almost the same configuration as sean.blaes@hifiit.com

./configure --disable-libxml --disable-xml --disable-xmlreader --disable-xmlwriter --disable-dom --disable-simplexml --without-pear --with-gd --with-zlib-dir --with-jpeg-dir --disable-cgi --with-apxs2=/usr/local/apache2/bin/apxs --enable-so

Thanks
Jul 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Sean | last post by:
System is Redhat 9.0, Python 2.2.3, Zope 2.6.2 built OpenSSL from source: 2791797 Sep 30 14:50:15 2003 openssl-0.9.7c.tar.gz used configure options to set for /usr/local and...
4
by: Eric Moors | last post by:
/home/me>redhat-config-services Traceback (most recent call last): File "/usr/share/redhat-config-services/serviceconf.py", line 26, in ? import gtk File...
0
by: pervinder | last post by:
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) ...
5
by: NTPT | last post by:
Regardi I recently compile Postgresql 7.4.3 with gcc 3.4.0 on RH 7.3 . Regression tests work well All passed, but Some binaries report a relocation error: :pg_dumpall undefined symbol...
8
by: pavan734 | last post by:
Hello, Please excuse me as Iam not posting this to correct group. I have a parser code obtained from flex command. I have many other files. When I compile them Iam getting a message like:...
1
by: yamitmehta | last post by:
When I compile to code using g++arm of VxWorks 5.5 and put it on my board i get the follwing undefined symbols:- Cpool and Csingleton are template classes. CPool has the static member...
4
by: antonyliu2002 | last post by:
I downloaded MySQL-python-1.2.1 from SourceForge and installed it on a Mandrake system (Mandrake Linux 9.2 3.3.1-2mdk on linux2). The installation was successful. The gcc version is 3.3. My...
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
3
by: sdeathstar | last post by:
I am working on IBM AIX machine and using XLC C++ complier version 8.0. 1) Able to compile the objects on AIX from C and C++ source code. 2) Able to create the libraries (combination of C & C++,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.