[PHP-DEV] Bug #1106: execution of php3 as a apache DSO fails From: mbartsch <email protected>
Date: 01/31/99

From: mbartsch <email protected>
Operating system: Linux 2.2.1 + Glibc 2.0.7
PHP version: 3.0.6
PHP Bug Type: Dynamic loading related
Bug description: execution of php3 as a apache DSO fails

php 3.0.6 fails to compile with:

same config as previous bug report (id=1005)

after compile it w/o problems , i install it and got the next result after start
apache (1.3.4):

Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: gdbm_errno

so i edit Makefile and add to APXS_LDFLAGS the next: -lgdbm

the i install , start apache and:

Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: gdImageDestroy

so i edit Makefile and add to APXS_LDFLAGS the next: -lgd

install, exec apache, and problems again:
Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: TT_New_Glyph

so i edit Makefile and add to APXS_LDFLAGS the next: -lttf

same again another ERROR:
Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: __dn_skipname

so i again add to APXS_LDFLAGS the next: -lresolv

and it finally starts w/o complain. i wish i knew to code so i could help, but i hope
some of the developers of php will help.

Thanks and keep the EXCELENT work.

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>