[PHP-DEV] Bug #1106 Updated: execution of php3 as a apache DSO fails From: Bug Database (php-dev <email protected>)
Date: 02/02/99

ID: 1106
User Update by: mbartsch <email protected>
Status: Open
Old-Bug Type: Dynamic loading related
Bug Type: Compile Failure
Description: execution of php3 as a apache DSO fails

php 3.0.6 fails to compile with:

same config as previous bug report (id=1105)

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.

Full Bug description available at: http://ca.php.net/bugs.php3?id=1106

--
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>