Ankündigung

Einklappen
Keine Ankündigung bisher.

PHP5.2 und libmysqlclient_r

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • PHP5.2 und libmysqlclient_r

    Ich habe grad mal versucht das neue php5.2 zu installieren, aber beim configure bekomme ich folgende Fehlermeldung:

    Code:
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... /var/lib/mysql
    checking for MySQL UNIX socket location... /var/lib/mysql
    configure: error: Cannot find libmysqlclient_r under /usr/local.
    Note that the MySQL client library is not bundled anymore!
    In configure ist aber nirgends was von /usr/local in Verbindung mit mysql angegeben:

    Code:
    ./configure ... --with-pdo-mysql=/usr/bin/mysql_config ... --with-mysql=/usr/lib/mysql --with-mysql-sock=/var/lib/mysql ...
    Ich wüsste nun auch nicht, wo ich das einstellen müsste:

    Code:
    [root@gutmans php-5.2.0]# ./configure --help | grep mysql
      --with-mysql[=DIR]      Include MySQL support. DIR is the MySQL base directory
      --with-mysql-sock[=DIR]   MySQL: Location of the MySQL unix socket pointer.
      --with-mysqli[=FILE]    Include MySQLi support. FILE is the optional pathname 
                              to mysql_config
      --enable-embedded-mysqli  MYSQLi: Enable embedded support
      --with-pdo-mysql[=DIR]    PDO: MySQL support. DIR is the MySQL base directory
    Code:
    [root@gutmans php-5.2.0]# locate libmysqlclient_r
    /usr/lib/mysql/libmysqlclient_r.a
    /usr/lib/mysql/libmysqlclient_r.so
    /usr/lib/mysql/libmysqlclient_r.so.15
    /usr/lib/mysql/libmysqlclient_r.so.15.0.0
Lädt...
X