Errors when making php-4.3.0
I am installing the latest version of php (4.3.0) but when I try and make it, it compiles ok for a while, and then it throws a load of errors (so many they go off the top of my SSH terminal) and stopsThis is the method I am using to compile it... (./configure works with no problems)
./configure --with-zlib --with-mysql --with-apxs=/usr/sbin/apxs --with-gd --with-png-dir=/home/usr/local/lib --with-jpeg-dir=/usr/lib --with-xpm --enable-inline-optimization --disable-debug --with-freetype-dir=/home/usr/local/lib --with-t1lib --enable-gd-native-ttf --with-mnogosearch
make
make install (or I would if it could get that far)
Here is a list of the last errors that are shown before it stops
/usr/bin/ld: Warning: size of symbol `compiled_charset_number' changed from 78 to 66 in ctype.o
/usr/lib/mysql/libmysqlclient.a(ctype.o): In function `compiled_charset_name':
ctype.o(.text+0xac): multiple definition of `compiled_charset_name'
ext/mysql/libmysql/ctype.lo(.text+0xd4):/home/packages/php/php-4.3.0/ext/mysql/libmysql/ctype.c: first defined here
/usr/bin/ld: Warning: size of symbol `compiled_charset_name' changed from 61 to 53 in ctype.o
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x0): multiple definition of `_db_fp_'
ext/mysql/libmysql/dbug.lo(.data+0x0):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x4): multiple definition of `_db_process_'
ext/mysql/libmysql/dbug.lo(.data+0x4):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x8): multiple definition of `_db_pfp_'
ext/mysql/libmysql/dbug.lo(.data+0x8):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0xc): multiple definition of `_db_on_'
ext/mysql/libmysql/dbug.lo(.data+0xc):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x10): multiple definition of `_db_pon_'
ext/mysql/libmysql/dbug.lo(.data+0x10):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x14): multiple definition of `_no_db_'
ext/mysql/libmysql/dbug.lo(.data+0x14):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_push_':
dbug.o(.text+0x0): multiple definition of `_db_push_'
ext/mysql/libmysql/dbug.lo(.text+0x0):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_push_' changed from 1047 to 719 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_pop_':
dbug.o(.text+0x2d0): multiple definition of `_db_pop_'
ext/mysql/libmysql/dbug.lo(.text+0x418):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_pop_' changed from 242 to 191 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_doprnt_':
dbug.o(.text+0x390): multiple definition of `_db_doprnt_'
ext/mysql/libmysql/dbug.lo(.text+0x7e4):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_doprnt_' changed from 237 to 178 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_keyword_':
dbug.o(.text+0x7c8): multiple definition of `_db_keyword_'
ext/mysql/libmysql/dbug.lo(.text+0xccc):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_keyword_' changed from 173 to 142 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_dump_':
dbug.o(.text+0x444): multiple definition of `_db_dump_'
ext/mysql/libmysql/dbug.lo(.text+0x8d4):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_dump_' changed from 402 to 305 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_setjmp_':
dbug.o(.text+0x858): multiple definition of `_db_setjmp_'
ext/mysql/libmysql/dbug.lo(.text+0x12c4):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_setjmp_' changed from 55 to 30 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_longjmp_':
dbug.o(.text+0x878): multiple definition of `_db_longjmp_'
ext/mysql/libmysql/dbug.lo(.text+0x12fc):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_longjmp_' changed from 63 to 38 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_enter_':
dbug.o(.text+0x8a0): multiple definition of `_db_enter_'
ext/mysql/libmysql/dbug.lo(.text+0x50c):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_enter_' changed from 366 to 283 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_return_':
dbug.o(.text+0x9bc): multiple definition of `_db_return_'
ext/mysql/libmysql/dbug.lo(.text+0x67c):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_return_' changed from 318 to 268 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_pargs_':
dbug.o(.text+0xac8): multiple definition of `_db_pargs_'
ext/mysql/libmysql/dbug.lo(.text+0x7bc):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_pargs_' changed from 37 to 24 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_lock_file':
dbug.o(.text+0xae0): multiple definition of `_db_lock_file'
ext/mysql/libmysql/dbug.lo(.text+0x13ac):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_lock_file' changed from 29 to 17 in dbug.o
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_unlock_file':
dbug.o(.text+0xaf4): multiple definition of `_db_unlock_file'
ext/mysql/libmysql/dbug.lo(.text+0x13cc):/home/packages/php/php-4.3.0/ext/mysql/libmysql/dbug.c: first defined here
/usr/bin/ld: Warning: size of symbol `_db_unlock_file' changed from 29 to 17 in dbug.o
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
The errrors do not just occur in dbug and ctype... there are many more
Please help, I would like to get this installed