Weird things with gd and yum mysql on php compile 64 bit cent os 5
I tried to compile php source on cent os 64 bit with mysql and gd,but it's not working how it should be.I did find solution how to make it work,but that solution is kind a slow.
First,if i put --with-gd (plus variations directory location)then i always get message how libpng is missing,and i have it installed plus libpng-devel version as well.I resolved by putting --enable-gd-native-ttf,and gd checker plus operation with gd working fine,checker even say how gd supports jpeg/png/zlib.
Since this working it's no problem,i am just confused why it doesn't work with-gd option.
Next problem would be compile with yum version of mysql,mysql-devel,mysql-server,etc.I always get error:
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
,while i see mysql client in /usr/lib64/mysql,and even --with-mysql=/usr/lib64/mysql .
I resolved this problem with installing mysql from source,but the problem is compilation from source takes up to one hour,while install from yum is instant.Any idea to make this work?
Also both this switches --with-gd and --with-mysql with yum version of mysql works perfectly fine on 32 bit version.
|