phpbar.de logo

Mailinglisten-Archive

[php] mysqli debian

[php] mysqli debian

Holm Kapschitzki holm at x-provi.de
Fre Okt 6 14:38:15 CEST 2006


Hallo,

ich mach mal einen anderen Thread damit auf.

Ich habe unter debian php 5.1.6 mysqli so kompiliert:

--with-mysqli=shared,/usr/bin/mysql_config \

Die Libs die gebraucht werden sind ?:

--with-mysql, --with-mysqli
%if %{with_libmysqlclient15_dev}
Build-Depends: libmysqlclient15-dev
%endif
%if %{with_libmysqlclient14_dev}
Build-Depends: libmysqlclient14-dev (>= 4.1.14-3)
%endif
%if %{with_libmysqlclient12_dev}
Build-Depends: libmysqlclient12-dev

Habe ich aus ner dexter debian readme

Gut auf meinem System ist: locate libmysql

/usr/lib/libmysqlclient.a
/usr/lib/libmysqlclient.la
/usr/lib/libmysqlclient_r.a
/usr/lib/libmysqlclient_r.la
/usr/lib/libmysqlclient_r.so
/usr/lib/libmysqlclient_r.so.10
/usr/lib/libmysqlclient_r.so.10.0.0
/usr/lib/libmysqlclient_r.so.12
/usr/lib/libmysqlclient_r.so.12.0.0
/usr/lib/libmysqlclient_r.so.14
/usr/lib/libmysqlclient_r.so.14.0.0
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient.so.12.0.0
/usr/lib/libmysqlclient.so.14
/usr/lib/libmysqlclient.so.14.0.0
/usr/lib/libmysqld.a

/var/lib/dpkg/info/libmysqlclient10.list
/var/lib/dpkg/info/libmysqlclient10.md5sums
/var/lib/dpkg/info/libmysqlclient10.postinst
/var/lib/dpkg/info/libmysqlclient10.postrm
/var/lib/dpkg/info/libmysqlclient10.shlibs
/var/lib/dpkg/info/libmysqlclient12.list
/var/lib/dpkg/info/libmysqlclient12.md5sums
/var/lib/dpkg/info/libmysqlclient12.postinst
/var/lib/dpkg/info/libmysqlclient12.postrm
/var/lib/dpkg/info/libmysqlclient12.shlibs
/var/lib/dpkg/info/libmysqlclient14-dev.list
/var/lib/dpkg/info/libmysqlclient14-dev.md5sums
/var/lib/dpkg/info/libmysqlclient14.list
/var/lib/dpkg/info/libmysqlclient14.md5sums
/var/lib/dpkg/info/libmysqlclient14.postinst
/var/lib/dpkg/info/libmysqlclient14.postrm
/var/lib/dpkg/info/libmysqlclient14.shlibs

locate locate libmysql | grep dev
/usr/share/doc/libmysqlclient14-dev
/usr/share/doc/libmysqlclient14-dev/changelog.Debian.gz
/usr/share/doc/libmysqlclient14-dev/copyright
/usr/share/doc/libmysqlclient14-dev/examples
/usr/share/doc/libmysqlclient14-dev/examples/udf_example.cc.gz
/usr/share/doc/libmysqlclient14-dev/EXCEPTIONS-CLIENT.gz
/var/cache/apt/archives/libmysqlclient14-dev_4.1.11a-4sarge4_i386.deb
/var/cache/apt/archives/libmysqlclient14-dev_4.1.11a-4sarge5_i386.deb
/var/cache/apt/archives/libmysqlclient14-dev_4.1.11a-4sarge7_i386.deb
/var/lib/dpkg/info/libmysqlclient14-dev.list
/var/lib/dpkg/info/libmysqlclient14-dev.md5sums


Jetzt steht auch in der debian readme:

mysqli          : n/a      : needs conflicting libmysqlclient14 library

und unter ./configure --help

--with-mysqli[=FILE]    Include MySQLi support. FILE is the optional 
pathname
                          to mysql_config

kompiliren konnte ich ohne Fehler. Aber es funktioniert laut log nicht:

[06-Oct-2006 14:21:50] PHP Warning:  PHP Startup: Unable to load dynamic 
library 
'/bla//php-5.1.6/lib/php/extensions/no-debug-non-zts-20050922/mysqli.so' 
- /bla/php-5.1.6/lib/php/extensions/no-debug-non-zts-20050922/mysqli.so: 
undefined symbol: _Znwj in Unknown on line 0

Wie kann man das in Ordnung bringen?

Gruß Holm








php::bar PHP Wiki   -   Listenarchive