trinath Posted March 7, 2007 Share Posted March 7, 2007 Hi All, I have configured PHP5 as $ ./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 and then $ gmake $ gmake install After that , I have configured apache 1.3.37. as follows: $ ./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 and then, $ gmake But when do this , I this error 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 How can I get rid of this error. Please help me in this regards, Thanks in advance, Best Regards, T [ myospages ] Quote Link to comment https://forums.phpfreaks.com/topic/41591-integrationg-php-as-module-to-apache/ Share on other sites More sharing options...
trq Posted March 7, 2007 Share Posted March 7, 2007 Does it actually fail to compile? These look more like notices than errors. Notices while compiling are very common and usually nothing to worry about. What version of gcc are you using? Quote Link to comment https://forums.phpfreaks.com/topic/41591-integrationg-php-as-module-to-apache/#findComment-201617 Share on other sites More sharing options...
trinath Posted March 7, 2007 Author Share Posted March 7, 2007 Does it actually fail to compile? These look more like notices than errors. Notices while compiling are very common and usually nothing to worry about. What version of gcc are you using? Yes ... Please scroll down the big error dump code text area above for errors . I'm using $ gcc --version gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Quote Link to comment https://forums.phpfreaks.com/topic/41591-integrationg-php-as-module-to-apache/#findComment-201631 Share on other sites More sharing options...
rlee923 Posted March 31, 2007 Share Posted March 31, 2007 I had similar problem before, redownload and install php. The file -probably a tarball-may be corrupted. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/41591-integrationg-php-as-module-to-apache/#findComment-218644 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.