Home  |  Linux  | Mysql  | PHP  | XML
From:Simon Mitschke Date:Sun May 11 06:05:43 2008
Subject:get_module Fehler
Hallo Community,

ich versuche nun schon seit Tagen PHP 5.2.5 zu installieren und stoße 
immer wieder auf neue Probleme. Zuerst wollte ich alle module als shared 
kompilieren, was auch funktioniert hat, nur hat er die dann im PHP 
später nicht geladen, immer mit dem Fehler

PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 
'bcmath.so'

und das gleiche für ftp.so posix.so mysql.so openssl.so pdo.so

außerdem kam noch der Fehler

Unable to load dynamic library pdo_mysql.so undefined symbol: 
php_pdo_unregister_driver in Unkown line 0


also habe ich fast alle shared aus ./configure rausgenommen und mit dem 
folgenden Befehl konfiguriert:

../configure --prefix=/usr/local/php5 --enable-force-cgi-redirect 
--enable-fastcgi --disable-rpath --enable-magic-quotes 
--with-openssl=/usr --with-kerberos --with-pcre-regex --with-zlib 
--enable-bcmath --with-bz2=shared,/usr --enable-calendar 
--with-curlwrappers=/usr --enable-dba --with-inifile  --enable-exif 
--enable-ftp --with-jpeg-dir=/usr/lib --with-ttf=/usr/lib 
--with-freetype-dir=/usr/lib --with-t1lib=/usr/lib 
--enable-gd-native-ttf --with-gettext=/usr/lib --enable-mbstring 
--with-libmbfl --with-mcrypt=/usr/lib --with-mhash=/usr/lib 
--with-mime-magic=/usr/share/misc/magic.mime --with-mysql=/usr 
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg 
--enable-memory-limit --without-mm --without-sqlite --enable-zip 
--enable-ctype --enable-pdo --enable-posix --enable-session 
--enable-tokenizer  --without-pdo-sqlite --with-pdo-mysql=/usr 
--disable-debug --enable-inline-optimization 
--with-apxs2=/usr/sbin/apxs2-prefork 
--with-libxml-dir=/usr/local/libxml2-2.6.32


er konfiguriert auch richtig, aber beim make kommt dann folgender Fehler:


ext/calendar/.libs/calendar.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/calendar/calendar.c:187: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/ctype/.libs/ctype.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/ctype/ctype.c:141: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/dba/.libs/dba.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/dba/dba.c:204: multiple definition of `get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/exif/.libs/exif.o(.text+0x40): In function `get_module':
/root/php5/php-5.2.5/ext/exif/exif.c:272: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/gettext/.libs/gettext.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/gettext/gettext.c:144: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/mbstring/.libs/mbstring.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/mbstring/mbstring.c:271: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/mcrypt/.libs/mcrypt.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/mcrypt/mcrypt.c:116: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/mhash/.libs/mhash.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/mhash/mhash.c:57: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/mime_magic/.libs/mime_magic.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/mime_magic/mime_magic.c:256: multiple 
definition of `get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/pdo_mysql/pdo_mysql.c:69: multiple definition 
of `get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/sockets/.libs/sockets.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/sockets/sockets.c:181: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/sysvmsg/.libs/sysvmsg.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/sysvmsg/sysvmsg.c:96: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/sysvsem/.libs/sysvsem.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/sysvsem/sysvsem.c:87: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
ext/sysvshm/.libs/sysvshm.o(.text+0x0): In function `get_module':
/root/php5/php-5.2.5/ext/sysvshm/sysvshm.c:72: multiple definition of 
`get_module'
ext/bz2/.libs/bz2.o(.text+0x0):/root/php5/php-5.2.5/ext/bz2/bz2.c:125: 
first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


ich habe keine Ahnung was ich machen kann.
Vielleicht hat hier ja jemand eine Idee.

Ciao Simon
Navigate in group php.install at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants