LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2007, 04:24 PM   #1
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
PHP configuration


Hi,

Can anyone help me out how to configure PHP on RH9 , php is installed and i am not sure where and how to make changes for my php to make work.
 
Old 10-30-2007, 05:54 PM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
On RH, PHP settings will be stored in /etc/php.ini

You can edit it from the console (as root) with: vi /etc/php.ini

Or, from your graphical user interface if it provides you with a way to gain root privileges.

Example:

In KDE, choose open, as location type in fish://root@localhost/etc and it will ask you for your root password, once it has that it will display the file listing from the /etc folder. Select the file php.ini and edit at leisure.

The file itself has comments everywhere explaining what does what.

Now, if you were wondering how to get php to work together with apache, install the package httpd

For more information, try this link

http://www.google.co.uk/search?hl=en...=Google+Search

Last edited by x_terminat_or_3; 10-30-2007 at 05:55 PM. Reason: fish protocol missing
 
Old 10-31-2007, 05:45 PM   #3
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
PHP configuration

Hi,

PHP has been installed and i am not sure what the changes to be made in the php.ini file , will the php work after making changes in the ini file.
 
Old 10-31-2007, 06:03 PM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
You can always work on a copy of the file

(as root)

Code:
cp /etc/php.ini /etc/php.ini.bak
Then you can edit your php.ini at your leisure and if it somehow made things bad, all you'd have to do is

Code:
cp /etc/php.ini.bak /etc/php.ini
Note that if you use PHP with apache (as opposed to the command line binary), you have to restart apache each time you make a change in php.ini

on RH

Code:
service httpd restart
Will restart the apache server.
 
Old 11-06-2007, 01:35 PM   #5
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

I have configured my PHP with MySql and while trying to build it says the follwing error , i am not sure whats the error and how can it be resolved,


collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
 
Old 11-06-2007, 01:38 PM   #6
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Is there a special reason that you are trying to 'build' php?

RH provides packages that are already compiled, and very easily installed

Code:
up2date php mysql httpd
should get you started
 
Old 11-06-2007, 01:42 PM   #7
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
right now i am using RH 9 and it doesnt support up2date command on my server , so i am trying to build php of my own.The below mentioned is the error occurs to me , can anyone help me

Last edited by MohamedReyas; 11-07-2007 at 11:15 AM.
 
Old 11-07-2007, 11:14 AM   #8
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
**while "make" the following error occur:
(seems that the packages, which all are in nearly the newest version,
crushed with one another)
anyone built successfully, please reply!
Thanks Very Very Much!!
.
.
.
-o sapi/cli/php
Zend/.libs/zend_builtin_functions.o(.data+0x0): In function
`zend_startup_builtin_functions':
/tmp/php-5.1.1/Zend/zend_builtin_functions.c:152: multiple definition of
`first_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x0):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:79:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x40): In function
`zif_func_num_args':
/tmp/php-5.1.1/Zend/zend_builtin_functions.c:169: multiple definition of
`second_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x40):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:135:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0xa0): In function
`zif_func_num_args':
/tmp/php-5.1.1/Zend/zend_builtin_functions.c:177: multiple definition of
`third_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0xa0):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:150:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x100): In function
`zif_func_get_arg':
/tmp/php-5.1.1/Zend/zend_builtin_functions.c:203: multiple definition of
`fourth_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x100):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:174:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x178): In function
`zif_func_get_arg':
/tmp/php-5.1.1/Zend/zend_builtin_functions.c:232: multiple definition of
`all_args_by_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here
ext/exif/.libs/exif.o(.text+0xc9): In function `OnUpdateEncode':
/tmp/php-5.1.1/ext/exif/exif.c:161: undefined reference to
`php_mb_check_encoding_list'
ext/exif/.libs/exif.o(.text+0x11c): In function `OnUpdateDecode':
/tmp/php-5.1.1/ext/exif/exif.c:167: undefined reference to
`php_mb_check_encoding_list'
ext/exif/.libs/exif.o(.text+0x1c7e): In function
`exif_process_user_comment':
/tmp/php-5.1.1/ext/exif/exif.c:2573: undefined reference to
`php_mb_convert_encoding'
ext/exif/.libs/exif.o(.text+0x1cfa):/tmp/php-5.1.1/ext/exif/exif.c:2555:
undefined reference to `php_mb_convert_encoding'
ext/exif/.libs/exif.o(.text+0x1d5c): In function `exif_process_unicode':
/tmp/php-5.1.1/ext/exif/exif.c:2617: undefined reference to
`php_mb_convert_encoding'
ext/mysqli/.libs/mysqli_nonapi.o(.text+0xbbc): In function
`zif_mysqli_get_charset':
/tmp/php-5.1.1/ext/mysqli/mysqli_nonapi.c:353: undefined reference to
`mysql_get_character_set_info'
ext/standard/.libs/html.o(.text+0x3b): In function `determine_charset':
/tmp/php-5.1.1/ext/standard/html.c:703: undefined reference to
`mbstring_globals'
main/.libs/rfc1867.o(.text+0x1c): In function `php_mb_flush_gpc_variables':
/tmp/php-5.1.1/main/rfc1867.c:59: undefined reference to
`php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0x34):/tmp/php-5.1.1/main/rfc1867.c:60:
undefined reference to `php_mb_gpc_encoding_detector'
main/.libs/rfc1867.o(.text+0xa1):/tmp/php-5.1.1/main/rfc1867.c:62:
undefined reference to `php_mb_gpc_encoding_converter'
main/.libs/rfc1867.o(.text+0xa67): In function `substring_conf':
/tmp/php-5.1.1/main/rfc1867.c:597: undefined reference to
`php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0xa94):/tmp/php-5.1.1/main/rfc1867.c:598:
undefined reference to `php_mb_gpc_mbchar_bytes'
main/.libs/rfc1867.o(.text+0xaea): In function `php_ap_getword_conf':
/tmp/php-5.1.1/main/rfc1867.c:622: undefined reference to
`php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0xc34):/tmp/php-5.1.1/main/rfc1867.c:624:
undefined reference to `php_mb_gpc_encoding_detector'
main/.libs/rfc1867.o(.text+0xfb1): In function `rfc1867_post_handler':
/tmp/php-5.1.1/main/rfc1867.c:845: undefined reference to
`php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0x1285):/tmp/php-5.1.1/main/rfc1867.c:913:
undefined reference to `php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0x15dc):/tmp/php-5.1.1/main/rfc1867.c:1080:
undefined reference to `php_mb_encoding_translation'
main/.libs/rfc1867.o(.text+0x1a5b):/tmp/php-5.1.1/main/rfc1867.c:1088:
undefined reference to `php_mb_gpc_encoding_detector'
main/.libs/rfc1867.o(.text+0x1a72):/tmp/php-5.1.1/main/rfc1867.c:1092:
undefined reference to `php_mb_strrchr'
main/.libs/rfc1867.o(.text+0x1a83):/tmp/php-5.1.1/main/rfc1867.c:1093:
undefined reference to `php_mb_strrchr'
main/.libs/rfc1867.o(.text+0x1acc):/tmp/php-5.1.1/main/rfc1867.c:1090:
undefined reference to `php_mb_gpc_encoding_converter'
sapi/cli/.libs/php_cli.o(.text+0x1058): In function `main':
/tmp/php-5.1.1/sapi/cli/php_cli.c:987: undefined reference to `tilde_expand'
sapi/cli/.libs/php_cli.o(.text+0x1064):/tmp/php-5.1.1/sapi/cli/php_cli.c:988:
undefined reference to `rl_attempted_completion_function'
sapi/cli/.libs/php_cli.o(.text+0x106e):/tmp/php-5.1.1/sapi/cli/php_cli.c:989:
undefined reference to `rl_special_prefixes'
sapi/cli/.libs/php_cli.o(.text+0x107a):/tmp/php-5.1.1/sapi/cli/php_cli.c:990:
undefined reference to `read_history'
sapi/cli/.libs/php_cli.o(.text+0x1095):/tmp/php-5.1.1/sapi/cli/php_cli.c:1001:
undefined reference to `readline'
sapi/cli/.libs/php_cli.o(.text+0x11cb):/tmp/php-5.1.1/sapi/cli/php_cli.c:1015:
undefined reference to `add_history'
sapi/cli/.libs/php_cli.o(.text+0x121e):/tmp/php-5.1.1/sapi/cli/php_cli.c:1032:
undefined reference to `write_history'
sapi/cli/.libs/php_cli_readline.o(.text+0x4fc): In function
`cli_completion_generator_var':
/tmp/php-5.1.1/sapi/cli/php_cli_readline.c:309: undefined reference to
`rl_completion_append_character'
sapi/cli/.libs/php_cli_readline.o(.text+0x541): In function
`cli_completion_generator_func':
/tmp/php-5.1.1/sapi/cli/php_cli_readline.c:319: undefined reference to
`rl_completion_append_character'
sapi/cli/.libs/php_cli_readline.o(.text+0x586): In function
`cli_completion_generator_class':
/tmp/php-5.1.1/sapi/cli/php_cli_readline.c:331: undefined reference to
`rl_completion_append_character'
sapi/cli/.libs/php_cli_readline.o(.text+0x5c0): In function
`cli_completion_generator_define':
/tmp/php-5.1.1/sapi/cli/php_cli_readline.c:343: undefined reference to
`rl_completion_append_character'
sapi/cli/.libs/php_cli_readline.o(.text+0x810): In function
`cli_code_completion':
/tmp/php-5.1.1/sapi/cli/php_cli_readline.c:432: undefined reference to
`rl_completion_matches'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0x40):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0x44):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0x88):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0x8c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(handler.o)(.gnu.linkonce.d.__vt_7handler+0xa0):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(hostname.o)(.text+0x9b): In function
`hostname_cache_init(void)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(hostname.o)(.text+0x1d9): In function
`hostname_cache_free(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_10Item_cache+0x3c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_10Item_cache+0x40):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_10Item_cache+0x44):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_10Item_cache+0xf8):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_9Item_buff+0x8):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item.o)(.gnu.linkonce.d.__vt_17Item_result_field+0x38):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.text+0x3619): In function
`item_user_lock_release(User_level_lock *)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.text+0x37a4): In function
`Item_func_get_lock::val_int(void)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.text+0x3857): In function
`Item_func_get_lock::val_int(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.text+0x39a5): In function
`Item_func_get_lock::val_int(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_13Item_func_bit+0x40):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_17Item_func_integer+0x40):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_13Item_dec_func+0x3c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_13Item_int_func+0x40):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_11Item_num_op+0x3c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(item_func.o)(.gnu.linkonce.d.__vt_11Item_num_op+0x40):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(log.o)(.text+0x208): In function
`MYSQL_LOG::~MYSQL_LOG(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(log_event.o)(.gnu.linkonce.d.__vt_9Log_event+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(log_event.o)(.gnu.linkonce.d.__vt_9Log_event+0x1c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.d.__vt_8Protocol+0x1c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.d.__vt_8Protocol+0x20):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.d.__vt_8Protocol+0x24):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.d.__vt_8Protocol+0x28):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.t._._8Protocol+0x1c):
In function `Protocol::~Protocol(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.t._._15Protocol_simple+0x1c):
In function `Protocol_simple::~Protocol_simple(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.t._._13Protocol_prep+0x1c):
In function `Protocol_prep::~Protocol_prep(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(protocol.o)(.gnu.linkonce.t._._15Protocol_cursor+0x1c):
In function `Protocol_cursor::~Protocol_cursor(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.text+0x33ec): In function
`Statement::~Statement(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_16select_subselect+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_14select_to_file+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_25select_result_interceptor+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_25select_result_interceptor+0x24):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_13select_result+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.d.__vt_13select_result+0x18):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.t._._11st_log_info+0x2a):
In function `st_log_info::~st_log_info(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.t._._6st_lex+0x26):
In function `st_lex::~st_lex(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.t._._10Item_arena+0x1c):
In function `Item_arena::~Item_arena(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_class.o)(.gnu.linkonce.t._._13Statement_map+0x30):
In function `Statement_map::~Statement_map(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_lex.o)(.gnu.linkonce.d.__vt_18st_select_lex_node+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_lex.o)(.gnu.linkonce.d.__vt_18st_select_lex_node+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_lex.o)(.gnu.linkonce.d.__vt_18st_select_lex_node+0x1c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_prepare.o)(.text+0x15f5): In
function `mysql_stmt_prepare(THD *, char *, unsigned int, st_lex_string *)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(sql_select.o)(.text+0xf023): In
function `test_if_skip_sort_order(st_join_table *, st_order *, unsigned
long, bool)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(sql_select.o)(.text+0xf314): In
function `create_sort_index(THD *, JOIN *, st_order *, unsigned long,
unsigned long)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(sql_select.o)(.gnu.linkonce.d.__vt_9store_key+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_select.o)(.gnu.linkonce.d.__vt_9store_key+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_show.o)(.List<char>::gnu.linkonce.t.delete_elements(void)+0x20):
In function `List<char>::delete_elements(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_12set_var_base+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_12set_var_base+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_23sys_var_key_cache_param+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_21sys_var_character_set+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_21sys_var_character_set+0x30):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.d.__vt_17sys_var_collation+0x10):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._7sys_var+0x1c):
In function `sys_var::~sys_var(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._16sys_var_long_ptr+0x1c):
In function `sys_var_long_ptr::~sys_var_long_ptr(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._21sys_var_ulonglong_ptr+0x1c):
In function `sys_var_ulonglong_ptr::~sys_var_ulonglong_ptr(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._16sys_var_bool_ptr+0x1c):
In function `sys_var_bool_ptr::~sys_var_bool_ptr(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._11sys_var_str+0x1c):
In function `sys_var_str::~sys_var_str(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(set_var.o)(.gnu.linkonce.t._._17sys_var_const_str+0x1c):
more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqld.a(tztime.o)(.gnu.linkonce.d.__vt_9Time_zone+0x8):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(tztime.o)(.gnu.linkonce.d.__vt_9Time_zone+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(tztime.o)(.gnu.linkonce.d.__vt_9Time_zone+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(libdata_data0data.o)(.text+0x522): In
function `dfield_print':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdata_data0data.o)(.text+0x751): In
function `dfield_print_also_hex':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x56df): In
function `dict_scan_to':
: undefined reference to `__ctype_toupper'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x574e): In
function `dict_accept':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x57fe): In
function `dict_scan_id':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x5872): In
function `dict_scan_id':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x6c6e): In
function `dict_create_foreign_constraints_low':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x6d16): In
function `dict_create_foreign_constraints_low':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(libdict_dict0dict.o)(.text+0x7348):
more undefined references to `__ctype_b' follow
/usr/local/mysql/lib/libmysqld.a(libmysys_raid.o)(.text+0x78): In
function `my_raid_create':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(libmysys_raid.o)(.text+0x118): In
function `my_raid_open':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(libmysys_raid.o)(.text+0x9c3): In
function `RaidFd::~RaidFd(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(libut_ut0ut.o)(.text+0x2ab): In
function `ut_print_buf':
: undefined reference to `__ctype_b'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0x1c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0x20):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0x24):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(field.o)(.gnu.linkonce.d.__vt_9Field_str+0x58):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(opt_range.o)(.text+0x308): In function
`QUICK_SELECT::~QUICK_SELECT(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(opt_range.o)(.text+0x423b): In function
`get_quick_select(st_qsel_param *, unsigned int, SEL_ARG *)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(opt_range.o)(.text+0x4284): In function
`get_quick_select(st_qsel_param *, unsigned int, SEL_ARG *)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(opt_range.o)(.text+0x4964): In function
`get_quick_select_for_ref(THD *, st_table *, st_table_ref *)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Procedure+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Procedure+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Procedure+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Procedure+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Item_proc+0x34):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.d.__vt_9Item_proc+0x3c):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(procedure.o)(.gnu.linkonce.t._._9Procedure+0x30):
In function `Procedure::~Procedure(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_load.o)(.text+0x10fe): In function
`READ_INFO::~READ_INFO(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.text+0x91): In function
`proc_analyse_init(THD *, st_order *, select_result *, List<Item> &)':
: undefined reference to `__builtin_new'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0x1c):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.d.__vt_10field_info+0x20):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqld.a(sql_analyse.o)(.gnu.linkonce.t._._7analyse+0x69):
In function `analyse::~analyse(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
 
Old 11-07-2007, 11:17 AM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
RH9 is very old. I would be astonished if an up to date version of PHP could be made to compile on it.

I suggest you update your distro.
 
Old 11-09-2007, 10:45 PM   #10
MohamedReyas
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I have upgraded from RH9 to RH EL3 , still the same error , can anyone help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Configuration? gurl4sh25 Linux - Software 7 07-29-2007 11:40 PM
PHP Configuration Kronux Linux - Software 3 02-25-2005 06:28 PM
Apache PHP configuration varunbihani Linux - Newbie 2 01-18-2005 03:49 AM
php configuration on Slackware 10 reddazz Programming 3 08-21-2004 03:07 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration