php compilation error on centos 5.3
Hi
I have centos 5.4 installed i make try to compile php5.2.1 with following command ./configure --with-mysql --with-mysql-sock --with-mysqli --with-pdo-mysql --with-xml --with-gd --with-ttf --with-freetype-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-libpng-dir=/usr/local/lib --with-apxs2=/LAMP/server/apache/bin/apxs --with-apache2=../httpd-2.2.8 --enable-track-vars --enable-mbstring while i fired make command i get following error /LAMP/installers/php-5.2.1/ext/date/php_date.c:790: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/php_date.c:788: undefined reference to `__moddi3' ext/date/.libs/php_date.o: In function `english_suffix': /LAMP/installers/php-5.2.1/ext/date/php_date.c:681: undefined reference to `__moddi3' ext/date/.libs/php_date.o: In function `php_do_date_sunrise_sunset': /LAMP/installers/php-5.2.1/ext/date/php_date.c:2290: undefined reference to `__divdi3' ext/date/.libs/php_date.o: In function `php_idate': /LAMP/installers/php-5.2.1/ext/date/php_date.c:966: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/php_date.c:953: undefined reference to `__moddi3' ext/date/lib/.libs/dow.o: In function `century_value': /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:28: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:29: undefined reference to `__moddi3' ext/date/lib/.libs/dow.o: In function `timelib_day_of_week_ex': /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:43: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:45: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:44: undefined reference to `__moddi3' ext/date/lib/.libs/dow.o: In function `timelib_day_of_year': /LAMP/installers/php-5.2.1/ext/date/lib/dow.c:72: undefined reference to `__moddi3' ext/date/lib/.libs/dow.o:/LAMP/installers/php-5.2.1/ext/date/lib/dow.c:72: more undefined references to `__moddi3' follow ext/date/lib/.libs/tm2unixtime.o: In function `do_range_limit': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:40: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:41: undefined reference to `__divdi3' ext/date/lib/.libs/tm2unixtime.o: In function `do_range_limit_days': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:61: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:71: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:71: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:61: undefined reference to `__moddi3' ext/date/lib/.libs/tm2unixtime.o: In function `do_years': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:187: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:195: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:195: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:203: undefined reference to `__moddi3' ext/date/lib/.libs/tm2unixtime.o: In function `do_months': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:215: undefined reference to `__umoddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:215: undefined reference to `__umoddi3' ext/date/lib/.libs/tm2unixtime.o: In function `do_years': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:203: undefined reference to `__moddi3' ext/date/lib/.libs/tm2unixtime.o: In function `do_adjust_special_weekday': /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:165: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/tm2unixtime.c:165: undefined reference to `__divdi3' ext/date/lib/.libs/unixtime2tm.o: In function `timelib_unixtime2gmt': /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:48: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:60: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:60: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:89: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:89: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:104: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:113: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:114: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:79: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/date/lib/unixtime2tm.c:79: undefined reference to `__moddi3' ext/pdo/.libs/pdo.o: In function `php_pdo_int64_to_str': /LAMP/installers/php-5.2.1/ext/pdo/pdo.c:299: undefined reference to `__udivdi3' ext/pdo_sqlite/sqlite/src/.libs/pager.o: In function `seekJournalHdr': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/pager.c:608: undefined reference to `__divdi3' ext/pdo_sqlite/sqlite/src/.libs/pager.o: In function `pager_stmt_playback': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/pager.c:1468: undefined reference to `__divdi3' ext/pdo_sqlite/sqlite/src/.libs/pager.o: In function `sqlite3pager_pagecount': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/pager.c:1828: undefined reference to `__divdi3' ext/pdo_sqlite/sqlite/src/.libs/pager.o: In function `pager_playback': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/pager.c:1317: undefined reference to `__divdi3' ext/pdo_sqlite/sqlite/src/.libs/printf.o: In function `vxprintf': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/printf.c:411: undefined reference to `__umoddi3' /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/printf.c:412: undefined reference to `__udivdi3' ext/pdo_sqlite/sqlite/src/.libs/vdbe.o: In function `sqlite3VdbeExec': /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/vdbe.c:1099: undefined reference to `__moddi3' /LAMP/installers/php-5.2.1/ext/pdo_sqlite/sqlite/src/vdbe.c:1094: undefined reference to `__divdi3' ext/sqlite/libsqlite/src/.libs/pager.o: In function `pager_ckpt_playback': /LAMP/installers/php-5.2.1/ext/sqlite/libsqlite/src/pager.c:815: undefined reference to `__divdi3' ext/sqlite/libsqlite/src/.libs/pager.o: In function `pager_playback': /LAMP/installers/php-5.2.1/ext/sqlite/libsqlite/src/pager.c:694: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/ext/sqlite/libsqlite/src/pager.c:697: undefined reference to `__divdi3' ext/standard/.libs/streamsfuncs.o: In function `zif_stream_socket_accept': /LAMP/installers/php-5.2.1/ext/standard/streamsfuncs.c:251: undefined reference to `__udivdi3' /LAMP/installers/php-5.2.1/ext/standard/streamsfuncs.c:252: undefined reference to `__umoddi3' ext/standard/.libs/streamsfuncs.o: In function `zif_stream_socket_client': /LAMP/installers/php-5.2.1/ext/standard/streamsfuncs.c:109: undefined reference to `__udivdi3' /LAMP/installers/php-5.2.1/ext/standard/streamsfuncs.c:110: undefined reference to `__umoddi3' main/.libs/snprintf.o: In function `ap_php_conv_10': /LAMP/installers/php-5.2.1/main/snprintf.c:337: undefined reference to `__udivdi3' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_get_stat': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:200: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:201: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:202: undefined reference to `__divdi3' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_get_request_time': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:306: undefined reference to `__divdi3' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_ap2_register_hook': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:656: undefined reference to `ap_hook_pre_config' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:657: undefined reference to `ap_hook_post_config' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:658: undefined reference to `ap_hook_handler' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_log_message': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:293: undefined reference to `ap_log_rerror' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:291: undefined reference to `ap_log_error' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_log_message_ex': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:300: undefined reference to `ap_log_rerror' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_ini_dtor': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:488: undefined reference to `apr_pool_cleanup_run' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_read_cookies': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:217: undefined reference to `apr_table_get' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_request_ctor': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:435: undefined reference to `apr_table_get' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:436: undefined reference to `apr_pstrdup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:439: undefined reference to `apr_pstrdup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:440: undefined reference to `apr_pstrdup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:443: undefined reference to `apr_table_get' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:446: undefined reference to `apr_table_unset' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:447: undefined reference to `apr_table_unset' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:448: undefined reference to `apr_table_unset' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:449: undefined reference to `apr_table_unset' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:450: undefined reference to `ap_auth_type' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:451: undefined reference to `apr_table_get' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:453: undefined reference to `apr_pstrdup' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_handler': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:563: undefined reference to `ap_add_common_vars' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:564: undefined reference to `ap_add_cgi_vars' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:510: undefined reference to `apr_palloc' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:515: undefined reference to `apr_pool_cleanup_null' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:515: undefined reference to `apr_pool_cleanup_register' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:628: undefined reference to `apr_psprintf' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:628: undefined reference to `apr_table_set' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:605: undefined reference to `ap_update_mtime' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:606: undefined reference to `ap_set_last_modified' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:637: undefined reference to `apr_bucket_eos_create' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:640: undefined reference to `ap_pass_brigade' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:646: undefined reference to `apr_brigade_cleanup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:570: undefined reference to `apr_brigade_create' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_register_variables': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:238: undefined reference to `apr_table_elts' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_read_post': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:173: undefined reference to `apr_brigade_flatten' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:174: undefined reference to `apr_brigade_cleanup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:172: undefined reference to `ap_get_brigade' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_send_headers': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:147: undefined reference to `apr_pstrdup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:147: undefined reference to `ap_set_content_type' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:133: undefined reference to `apr_pstrdup' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:138: undefined reference to `apr_table_set' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:136: undefined reference to `apr_table_set' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_header_handler': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:113: undefined reference to `apr_table_set' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:115: undefined reference to `apr_table_add' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_flush': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:278: undefined reference to `ap_rflush' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_ub_write': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:78: undefined reference to `ap_rwrite' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_server_startup': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:396: undefined reference to `apr_pool_userdata_get' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:416: undefined reference to `apr_pool_cleanup_null' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:416: undefined reference to `apr_pool_cleanup_register' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_add_version': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:367: undefined reference to `ap_add_version_component' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_server_startup': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:403: undefined reference to `apr_pool_cleanup_null' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:403: undefined reference to `apr_pool_userdata_set' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_pre_config': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:376: undefined reference to `ap_mpm_query' /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:378: undefined reference to `ap_log_error' sapi/apache2handler/.libs/sapi_apache2.o: In function `php_apache_sapi_getenv': /LAMP/installers/php-5.2.1/sapi/apache2handler/sapi_apache2.c:229: undefined reference to `apr_table_get' sapi/apache2handler/.libs/apache_config.o: In function `php_apache_phpini_set': /LAMP/installers/php-5.2.1/sapi/apache2handler/apache_config.c:114: undefined reference to `ap_server_root_relative' sapi/apache2handler/.libs/apache_config.o: In function `real_value_hnd': /LAMP/installers/php-5.2.1/sapi/apache2handler/apache_config.c:67: undefined reference to `apr_pstrdup' sapi/apache2handler/.libs/apache_config.o: In function `create_php_config': /LAMP/installers/php-5.2.1/sapi/apache2handler/apache_config.c:201: undefined reference to `apr_palloc' /LAMP/installers/php-5.2.1/sapi/apache2handler/apache_config.c:205: undefined reference to `apr_pool_cleanup_null' /LAMP/installers/php-5.2.1/sapi/apache2handler/apache_config.c:205: undefined reference to `apr_pool_cleanup_register' sapi/apache2handler/.libs/php_functions.o: In function `zm_info_apache': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:389: undefined reference to `ap_loaded_modules' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:389: undefined reference to `ap_loaded_modules' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:417: undefined reference to `unixd_config' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:417: undefined reference to `unixd_config' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:417: undefined reference to `unixd_config' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:421: undefined reference to `ap_mpm_query' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:425: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:425: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:425: undefined reference to `apr_snprintf' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:431: undefined reference to `ap_server_root' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:440: undefined reference to `apr_table_elts' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:460: undefined reference to `apr_table_elts' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:469: undefined reference to `apr_table_elts' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_get_modules': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:366: undefined reference to `ap_loaded_modules' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:366: undefined reference to `ap_loaded_modules' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:366: undefined reference to `ap_loaded_modules' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_response_headers': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:213: undefined reference to `apr_table_elts' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_request_headers': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:189: undefined reference to `apr_table_elts' sapi/apache2handler/.libs/php_functions.o: In function `php_apache_lookup_uri': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:67: undefined reference to `ap_sub_req_lookup_uri' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_lookup_uri': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:170: undefined reference to `ap_destroy_sub_req' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:143: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:163: undefined reference to `__divdi3' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:165: undefined reference to `ap_destroy_sub_req' sapi/apache2handler/.libs/php_functions.o: In function `zif_virtual': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:105: undefined reference to `ap_destroy_sub_req' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:101: undefined reference to `ap_rflush' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:103: undefined reference to `ap_run_sub_req' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:108: undefined reference to `ap_destroy_sub_req' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_getenv': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:325: undefined reference to `apr_table_get' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_setenv': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:287: undefined reference to `apr_table_set' sapi/apache2handler/.libs/php_functions.o: In function `zif_apache_note': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:240: undefined reference to `apr_table_get' /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:244: undefined reference to `apr_table_set' sapi/apache2handler/.libs/php_functions.o: In function `php_apache_get_version': /LAMP/installers/php-5.2.1/sapi/apache2handler/php_functions.c:339: undefined reference to `ap_get_server_version' collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Regards Amar |
Quote:
Most importantly...why are you not upgrading through yum, just by typing in "yum update php"? And why do you need that SPECIFIC version? The CentOS wiki even covers doing this, and warns against it: http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 |
Hi
THanks for reply, i have follow the link you provided i have all required php package installed , but still i got this error while compiling php , i check this same php source on 32 bit centos it work fine but i run same source of php on 64 bit show the error posted on previous post Amar |
Hi guru
i fired make clean command , then the php is compile sucessfully, but when i try to start httpd service shows error as "cannot load /LAMP/server/apache/modules/libphp5.so into server: /LAMP/server/apache/modules/libphp5.so: wrong ELF class: ELFCLASS64" Regards Amar |
Quote:
Quote:
http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 Quote:
https://bugs.php.net/bug.php?id=52993 http://enlinea.creaelicita.cl/guia/oci8.setup.html AGAIN...that version is old, insecure, and CentOS says it's a bad idea to load. If you insist on doing it, load it through yum. |
hi guru
thanks for reply, i have some local application that is run on this php version hence required this version and installed apache,mysql,php not in default location , it is installed under some other location , and my server is 64 bit .i fired the command file -L /LAMP/server/apache/modules/libphp5.so , i get following message /LAMP/server/apache/modules/libphp5.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Regards amar |
Quote:
Quote:
http://wiki.centos.org/HowTos/PHP_5.1_To_5.2[/QUOTE] Quote:
|
Hi guru
i compile php from redownloded fresh copy it compile sucessfully but when i started apache services still show same error "shows error as "cannot load /LAMP/server/apache/modules/libphp5.so into server: /LAMP/server/apache/modules/libphp5.so: wrong ELF class: ELFCLASS64" what this error mean? i fired the command file -L /LAMP/server/apache/modules/libphp5.so , i get following message /LAMP/server/apache/modules/libphp5.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped what it mean that apache is 32 bit? unable to understand,or how can i come to known about installed apache is 32 bit or 64 bit Amar |
Quote:
Quote:
AGAIN....WHAT YOU'RE TRYING TO DO IS A BAD IDEA...there is NO REASON to do it. Load current, up-to-date software. |
Hi
i fired rpm -qa | grep apache i get output,as rpm -qa | grep httpd system-config-httpd-1.3.3.3-1.el5 httpd-manual-2.2.3-22.el5.centos.2 httpd-2.2.3-22.el5.centos.2 /LAMP/server/apache/modules/libphp5.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), means i have 32 bit php installed or try to installed ? or apache is 32 bit ? |
Quote:
Quote:
If you want to find out about your Apache architecture, then run "httpd -V" (or "httpd2 -V"), and look for the line that says "Architecture". Read it. AGAIN, you are trying to do something that's not a good idea, that's introducing VERY OLD SOFTWARE to your system, and even the makers are telling you it shouldn't be done. You are ignoring ALL of this, and trying to do it anyway...do NOT be surprised when you encounter lots of problems. If you just upgrade apache and PHP through Yum, you'd have been done days ago, and have a SUPPORTED, STABLE SYSTEM. Which you will NOT have if you manage to shoehorn this old software onto your server. |
All times are GMT -5. The time now is 07:51 AM. |