I upgraded mysql to v4 on one of my servers since some software I want to test requires it. All went fine (other than that everything seems to want to downgrade it) but noticed afterwards that php no longer works - it seems to be linked against libmysqlclient.so.10 rather than the .12 that's now there.
Fair enough, recompile php and mod_php should do it.
But when I emerge [mod_]php-4.3.2 (the version I already had), I get:
Code: Select all
....
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
!!! ERROR: dev-php/php-4.3.2 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed
Anyone know what needs tweaking?
Ta,
Steve.
[Edit: temporarily fixed php by symlinking libmysqlclient.10 to point at .12 which works kludgily but still curious what's broken with the compile]
[Re-edit: nope, php runs but the script makes it segfault so I guess I do need to recompile]







