Hallo, Ich möchte PHP 4.2.x unter 8.0 kompilieren. Alle devel rpm's sind installiert, aber ich erhalte immer noch: ./configure --with-mysql=/usr [...] checking for int8... no checking base type of last arg to accept... socklen_t checking return type of qsort... void checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. Was ist denn los hier ? Ist mysql-devel defekt ? Ich würde es vermuten, da wenn ich einen eigenen mysql installiere (aus sources), klappt es mit PHP kompilation auch sofort. Würde aber schon gern das "original" suse mysql verwenden, sonst habe ich bei upgrades probleme. Kennt jemand eine lösung? Gemäss google groups usw. bin ich nicht der einzige mit dieses problem, aber leider habe ich noch nirgens eine lösung gelesen. Bugfix von Suse wäre gut... :) Unter 7.3 klappt es gut... Grüsse, Olivier PS: gibt es irgendwo searchable-archive von suse ML's ? wäre noch praktisch... :) hier ende von config.log: [...] configure:39811: checking base type of last arg to accept configure:39839: g++ -c conftest.C 1>&5 configure:39888: checking return type of qsort configure:39905: gcc -c -g -O2 conftest.c 1>&5 configure:39895: warning: garbage at end of `#ifdef' argument configure:39971: checking for mysql_close in -lmysqlclient configure:39990: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lmysqlclient -lldap -llber -lgd -lttf -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 39979 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_close(); int main() { mysql_close() ; return 0; } configure:40115: checking for mysql_error in -lmysqlclient configure:40134: gcc -o conftest -g -O2 -L/usr/lib -L/usr/lib conftest.c -lmysqlclient -lldap -llber -lgd -lttf -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 40123 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); int main() { mysql_error() ; return 0; }