Hi All, I'm building and stand alone static linked APACHE +PHP+PGSQL pack. PGSQL is done with static linking but php with apache is troubling. I have configured PHP5 as [code]$ ./configure --enable-static --disable-shared --with-pgsql=/home/sss_user/server/pgsql/ --prefix=/home/sss_user/server/php --without-pear --with-apache=/home/sss_user/sources/apache2/apache1 --disable-inline-optimization --disable-rpath --without-mysql --enable-session --enable-suhosin[/code] and then [code]$ gmake $ gmake install[/code] After that , I have configured apache 1.3.37. as follows: $ [code]./configure --enable-module=ssl --enable-module=rewrite --with-port=8888 --prefix=/home/sss_user/server/apache --enable-module=mime_magic --activate-module=src/modules/php5/libphp5.a --disable-shared=ssl --disable-shared=rewrite --disable-shared=mime_magic --disable-shared=php5 [/code] and then, [code]$ gmake[/code] But when I do this , I get this error [code]modules/php5/libphp5.a(zend_API.o): In function `module_destructor': zend_API.c:(.text+0x5730): undefined reference to `dlclose' modules/php5/libphp5.a(zend_extensions.o): In function `zend_load_extension': zend_extensions.c:(.text+0x18): undefined reference to `dlopen' zend_extensions.c:(.text+0x26): undefined reference to `dlerror' zend_extensions.c:(.text+0x66): undefined reference to `dlsym' zend_extensions.c:(.text+0x82): undefined reference to `dlsym' zend_extensions.c:(.text+0x98): undefined reference to `dlsym' zend_extensions.c:(.text+0xb4): undefined reference to `dlsym' zend_extensions.c:(.text+0xea): undefined reference to `dlclose' zend_extensions.c:(.text+0x16e): undefined reference to `dlclose' zend_extensions.c:(.text+0x1e2): undefined reference to `dlclose' zend_extensions.c:(.text+0x24d): undefined reference to `dlclose' zend_extensions.c:(.text+0x2b5): undefined reference to `dlclose' modules/php5/libphp5.a(zend_extensions.o):zend_extensions.c:(.text+0x43e): more undefined references to `dlclose' follow modules/php5/libphp5.a(dl.o): In function `php_dl': dl.c:(.text+0x397): undefined reference to `dlopen' dl.c:(.text+0x3a5): undefined reference to `dlerror' dl.c:(.text+0x3d0): undefined reference to `dlerror' dl.c:(.text+0x40e): undefined reference to `dlsym' dl.c:(.text+0x42a): undefined reference to `dlsym' dl.c:(.text+0x43e): undefined reference to `dlclose' dl.c:(.text+0x569): undefined reference to `dlclose' dl.c:(.text+0x5be): undefined reference to `dlclose' dl.c:(.text+0x5fa): undefined reference to `dlclose' dl.c:(.text+0x672): undefined reference to `dlclose' /usr/lib/libxml2.a(threads.o): In function `xmlRMutexLock': (.text+0x4b8): undefined reference to `pthread_cond_wait' /usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew': (.text+0x111): undefined reference to `krb5_rc_default' /usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew': (.text+0x12c): undefined reference to `krb5_rc_initialize' /usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew': (.text+0x152): undefined reference to `krb5_rc_get_lifespan' /usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew': (.text+0x16c): undefined reference to `krb5_rc_destroy' /usr/lib/libssl.a(kssl.o): In function `kssl_validate_times': (.text+0x1a4): undefined reference to `krb5_init_context' /usr/lib/libssl.a(kssl.o): In function `kssl_validate_times': (.text+0x1c7): undefined reference to `krb5_timeofday' /usr/lib/libssl.a(kssl.o): In function `kssl_validate_times': (.text+0x1ea): undefined reference to `krb5_free_context' /usr/lib/libssl.a(kssl.o): In function `kssl_krb5_free_data_contents': (.text+0x271): undefined reference to `krb5_free_data_contents' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x2ea): undefined reference to `krb5_init_context' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x306): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x31c): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x32b): undefined reference to `krb5_free_context' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x36b): undefined reference to `krb5_sname_to_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x385): undefined reference to `krb5_cc_default' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x3a6): undefined reference to `krb5_cc_get_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_tgt_is_available': (.text+0x3d8): undefined reference to `krb5_get_credentials' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x445): undefined reference to `krb5_init_context' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x46e): undefined reference to `krb5_kt_resolve' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x4aa): undefined reference to `krb5_sname_to_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x4d7): undefined reference to `krb5_kt_get_entry' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x4fa): undefined reference to `krb5_kt_close' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x510): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x51f): undefined reference to `krb5_free_context' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x538): undefined reference to `krb5_kt_free_entry' /usr/lib/libssl.a(kssl.o): In function `kssl_keytab_is_available': (.text+0x54e): undefined reference to `krb5_kt_default' /usr/lib/libssl.a(kssl.o): In function `populate_cksumlens': (.text+0xa97): undefined reference to `valid_cksumtype' /usr/lib/libssl.a(kssl.o): In function `populate_cksumlens': (.text+0xac1): undefined reference to `krb5_checksum_size' /usr/lib/libssl.a(kssl.o): In function `populate_cksumlens': (.text+0xafa): undefined reference to `krb5_checksum_size' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x16c1): undefined reference to `krb5_init_context' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x16fd): undefined reference to `krb5_sname_to_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x175e): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x1777): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x178d): undefined reference to `krb5_auth_con_free' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x179c): undefined reference to `krb5_free_context' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x17be): undefined reference to `krb5_cc_default' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x17e0): undefined reference to `krb5_cc_get_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x18a1): undefined reference to `krb5_get_credentials' /usr/lib/libssl.a(kssl.o): In function `kssl_cget_tkt': (.text+0x1925): undefined reference to `krb5_mk_req_extended' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1ca7): undefined reference to `krb5_auth_con_free' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1cd3): undefined reference to `krb5_auth_con_init' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1d0c): undefined reference to `krb5_kt_close' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1d25): undefined reference to `krb5_free_ticket' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1d3e): undefined reference to `krb5_free_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1d6e): undefined reference to `krb5_auth_con_getrcache' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1dae): undefined reference to `krb5_sname_to_principal' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1de2): undefined reference to `krb5_auth_con_setrcache' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1e13): undefined reference to `krb5_kt_resolve' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1f3d): undefined reference to `krb5_init_context' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1f8e): undefined reference to `krb5_get_server_rcache' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x1fe1): undefined reference to `krb5_principal_compare' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x2069): undefined reference to `krb5_kt_default' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x20c9): undefined reference to `krb5_kt_get_entry' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x213f): undefined reference to `krb5_decrypt_tkt_part' /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x2165): undefined reference to `krb5_kt_free_entry' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x1b4): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x29c): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x334): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x419): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': (.text+0x495): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x594): undefined reference to `dlopen' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x60a): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x641): undefined reference to `dlerror' collect2: ld returned 1 exit status gmake[2]: *** [target_static] Error 1 gmake[2]: Leaving directory `/home/sss_user/sources/apache2/apache1/src' gmake[1]: *** [build-std] Error 2 gmake[1]: Leaving directory `/home/sss_user/sources/apache2/apache1' gmake: *** [build] Error 2 [/code] How can I get rid of this error. Please help me in this regards, Thanks in advance, Best Regards, T [ http://www.myospages.com ] -- View this message in context: http://www.nabble.com/Integrationg-PHP-as-module-to-Apache-tf3361555.html#a9351242 Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx