Click to See Complete Forum and Search --> : Own C Lib - Compiled but not Starting


Anon
09-27-2000, 02:11 PM
My System: Suse 6.3, Kernel 2.2.13, Apache 1.3.9, PHP4.0.2

I compiled Apache with apxs.
I compiled PHP4 with own C Lib (transformed automatically with ext_skel --proto=imsdb.h --extname=imsdb)

Compiling php4 okay.

Loading Module with LoadModule ...
and AddModule mod_php4.c.

But i get:

Starting service httpdSyntax error on line 208 of /etc/httpd/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: imsdb_module_entry
startproc: exit status of /usr/sbin/httpd: 1

Anon
09-27-2000, 05:22 PM
Looks like something went wrong with your PHP compilation and build. Even though PHP compiled correctly it looks like Apache is looking for something before it can use the module.

Try compiling with the default libraries and see if that works.