Apache, php and undefined symbol

Fernando Arbeiza arbeizaf at ono.com
Mon May 20 14:36:39 PDT 2002


	Hi:

	I have compiled apache 2.0.36 using shared modules, and it
seemed to work well. Then I compiled PHP 4.2.1 as a shared module
to use it into apache. I inluded this line into the httpd.conf
file:

	LoadModule php4_module		"modules/libphp4.so"
	
	Then, I could not start apache, it failed with this
message:

Cannot load /opt/apache/modules/libphp4.so into server:
/opt/apache/modules/libphp4.so: undefined symbol: php_pcre_replace

	I understood that php could not load the pcre.so extension
that is under the this directory:

extension_dir =	/opt/apache/lib/php/extensions/no-debug-zts-20020429

	I also have tried to include the LD_LIBRARY_PATH into the
bootscript which starts httpd:

export LD_LIBRARY_PATH="/opt/apache/lib:/opt/apache/lib/php:/opt/apache/lib/php/extensions:/opt/apache/lib/php/extensions/no-debug-zts-20020429"

	But it didn't work. Does anybody have any idea about what
should I try next?

	Thanks in advance.

-- 
Fernando Arbeiza
Cantabria, Spain
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list