mysql fehler bei php-compile
Posted: 2008-01-21 00:26
Hallo Zusammen,
ich bin hier ziemlich am verzweifeln, da ich seid tagen nicht weiterkomme bei der Installation/Update von php 5.2.5.
Wir nutzen einen ziemlich großen Webserver mit Suse 10.0 64Bit, Plesk und apache-worker - also brauche ich ein threadsafe php. rpms hab ich da noch keine gefunden - also komme ich ja ums compilieren nicht herum.
Ich erhalte jedoch immer die Fehlermeldung:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/lib/mysql.
Note that the MySQL client library is not bundled anymore!
Ich habe schon sämtliche Symlinks von /lib nach /lib64 gesetzt (das ist ja oft ein Problem bei 64Bit-Systemen), habe den aktuellen mysql-webserver installiert (Linux AMD64 / Intel EM64T generic RPM: Server, Client programs, Libraries and header files, Shared compatibility libraries)
das compile-set ist aufs minimum reduziert - ich wollte es später erweitern, aber so weit komme ich ja noch gar nicht... ;-)
./configure --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --bindir=/usr/bin --with-libdir=/usr/lib64 --includedir=/usr/include --sysconfdir=/etc --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php5/conf2.d --with-exec-dir=/usr/lib64/php5/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --disable-safe-mode --enable-sigchild --disable-ctype --with-mysql=/usr/lib64/mysql --disable-cli --without-pear --with-zlib --with-apxs2=/usr/sbin/apxs2-worker
Google und Forumssuche bringen meistens als Lösung, dass mysql-devel fehlt oder entsprechende Symlinks von /lib nach lib64 nicht gesetzt sind. Beides hab ich aber längst umgesetzt. Auch sämtliche alternative Pfade für mysql probiert /usr /usr/lib64 /usr/lib ... alle führen zur gleichen fehlermeldung.
Hat vielleicht jemand einen Tip für mich? Ich wäre Euch sehr dankbar!
Gruß
Flat-Jack
ich bin hier ziemlich am verzweifeln, da ich seid tagen nicht weiterkomme bei der Installation/Update von php 5.2.5.
Wir nutzen einen ziemlich großen Webserver mit Suse 10.0 64Bit, Plesk und apache-worker - also brauche ich ein threadsafe php. rpms hab ich da noch keine gefunden - also komme ich ja ums compilieren nicht herum.
Ich erhalte jedoch immer die Fehlermeldung:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/lib/mysql.
Note that the MySQL client library is not bundled anymore!
Ich habe schon sämtliche Symlinks von /lib nach /lib64 gesetzt (das ist ja oft ein Problem bei 64Bit-Systemen), habe den aktuellen mysql-webserver installiert (Linux AMD64 / Intel EM64T generic RPM: Server, Client programs, Libraries and header files, Shared compatibility libraries)
das compile-set ist aufs minimum reduziert - ich wollte es später erweitern, aber so weit komme ich ja noch gar nicht... ;-)
./configure --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --bindir=/usr/bin --with-libdir=/usr/lib64 --includedir=/usr/include --sysconfdir=/etc --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php5/conf2.d --with-exec-dir=/usr/lib64/php5/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --disable-safe-mode --enable-sigchild --disable-ctype --with-mysql=/usr/lib64/mysql --disable-cli --without-pear --with-zlib --with-apxs2=/usr/sbin/apxs2-worker
Google und Forumssuche bringen meistens als Lösung, dass mysql-devel fehlt oder entsprechende Symlinks von /lib nach lib64 nicht gesetzt sind. Beides hab ich aber längst umgesetzt. Auch sämtliche alternative Pfade für mysql probiert /usr /usr/lib64 /usr/lib ... alle führen zur gleichen fehlermeldung.
Hat vielleicht jemand einen Tip für mich? Ich wäre Euch sehr dankbar!
Gruß
Flat-Jack