PDA

Bekijk Volledige Versie : Upgrade fout



Komto
12/08/06, 14:56
Sorry voor de CP, maar het heeft nogal haast.

Ok, yesterday DA installed, and everything working fine.
This morning I decided to update MySQL to version 5.0.24 -> worked!

However:

I wanted to update Apache to 2.0.59 and PHP to version 5 and there it went wrong..
I kept on getting errors on ldlnt when trying to compile php5.

So then I tried to go back to PHP4.4.2 (and also with 4.4.3) and I get the following errors :

/usr/lib/mysql/libz.a(zutil.o)(.text+0x41): In function `zcalloc':
/home/mysqldev/rpm/BUILD/mysql-5.0.24/zlib/zutil.c:304: multiple definition of `zcalloc'
/usr/lib/mysql/libz.a(zutil.o)(.text+0x41):/home/mysqldev/rpm/BUILD/mysql-5.0.24/zlib/zutil.c:304: first defined here
/usr/lib/mysql/libz.a(zutil.o)(.text+0x68): In function `zcfree':
/home/mysqldev/rpm/BUILD/mysql-5.0.24/zlib/zutil.c:313: multiple definition of `zcfree'
/usr/lib/mysql/libz.a(zutil.o)(.text+0x68):/home/mysqldev/rpm/BUILD/mysql-5.0.24/zlib/zutil.c:313: first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

there's a bunch of similar errors right before (all about mysql apparently). So what should I do to solve this ?

I tried again to put the PHP 5.1.4 and I get the error :

/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

As PHP 5 is the version I would really like, I guess this error is more important

Kenneth
12/08/06, 15:19
./build clean
./build php y

zou moeten werken als ik het goed herinner

Komto
12/08/06, 15:32
Hmm opgelost op een andere manier, we krijgen nu:

Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: php_escape_html_entities

Gemaakt, hoe weet ik niet.. Werkte opeens! :)