get_module error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello Community,


I am sorry for my last mail, that I wrote in german. I was a little bit confused and so ...at the end I didnt recognize that I wrote in german.
So here again the same issue in english:

I tried the last days to set up an PHP 5.2.5, but I run in a lot of problems. At first I tried to compile all moduls as shared version, which worked well, but after running PHP it did not load the modules with the following errors:

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

and the same for ftp.so posix.so mysql.so openssl.so pdo.so

I got als the error

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

so I took all shared away from my configure command and that is my final command:

../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


it configures well, but after running make I got following errors:


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


I have no clue what I can do, but I am really happy for any help

Ciao Simon

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux