PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP5 + MySQL4.1



small-talk
05.12.04, 20:13
Ich suche jetzt bestimmt schon 2Tage nach einer Lösung aber bis jetzt hab ich echt nichts gefunden

Ich möchte PHP5 mit mysqli und embedded installieren.
MySQL läuft schon installiert mit

rpm -Uvh MySQL-client-4.1.7-0.i386.rpm
und MySQL-shared-4.1.7-0.i386.rpm
und MySQL-devel-4.1.7-0.i386.rpm
und MySQL-shared-compat-4.1.7-0.i386.rpm
und MySQL-Max-4.1.7-0.i386.rpm
und MySQL-embedded-4.1.7-0.i386.rpm
und MySQL-bench-4.1.7-0.i386.rpm
und MySQL-server-4.1.7-0.i386.rpm

(gcc version 3.3.3)

beim kompilieren von PHP sah auch alles soweit in ordnung aus
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli --enable-embedded-mysqli --without-mysql --enable-fastcgi --enable-debug --disable-short-tags --enable-calendar --enable-ftp --enable-soap --enable-sockets --with-pear=/usr/local/php/pear --with-zlib --with-bz2 --with-jpeg-dir --with-tiff-dir --with-png-dir --with-gettext --with-mime-magic

Aber beim make komme ich jetzt ständig folgende Fehler:

/usr/lib/mysql/libmysqld.a(sql_analyse.o)(.gnu.linkonce.t._._7ana lyse+0x69): In function `analyse::~analyse(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqld.a(libdb_btree_auto.o)(.text+0x64d): In function `__bam_split_print':
: undefined reference to `__ctype_b'
/usr/lib/mysql/libmysqld.a(libdb_btree_auto.o)(.text+0xcad): In function `__bam_rsplit_print':
: undefined reference to `__ctype_b'
/usr/lib/mysql/libmysqld.a(libdb_btree_auto.o)(.text+0xd3d): In function `__bam_rsplit_print':
: undefined reference to `__ctype_b'
/usr/lib/mysql/libmysqld.a(libdb_btree_auto.o)(.text+0x20fd): In function `__bam_repl_print':
: undefined reference to `__ctype_b'
/usr/lib/mysql/libmysqld.a(libdb_btree_auto.o)(.text+0x215f): In function `__bam_repl_print':
: undefined reference to `__ctype_b'
/usr/lib/mysql/libmysqld.a(libdb_crdel_auto.o)(.text+0x3ed): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

und das ist nur der letzte Teil der ausgabe mit "undefined reference". Das geht bestimmt 3Seiten so :(

PLEASE HEEEEEELP