ID: 14824 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Compile Failure Operating System: Red Hat Linux 7.2, kernel 2.4.7 PHP Version: 4.1.1 New Comment:
> This bug has been fixed in CVS. php4-200202070600 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr --with-zlib --enable-memory-limit --enable-versioning --with-mnogosearch=/usr/local/mnogosearch-3.1.19 Still not working/compiling. system info: linux redhat 7.2 apache: 1.3.22 ./configure --with-layout=Apache --enable-module=rewrite --enable-module=expires --enable-module=headers --enable-shared=rewrite --enable-shared=expires --enable-shared=headers MySQL-devel-3.23.47-1 MySQL-shared-3.23.47-1 MySQL-client-3.23.47-1 MySQL-3.23.47-1 mnogosearch: ./configure --with-mysql=/usr --prefix=/usr/local/mnogosearch-3.1.19 Previous Comments: ------------------------------------------------------------------------ [2002-02-04 04:05:32] [EMAIL PROTECTED] This bug has been fixed in CVS. ------------------------------------------------------------------------ [2002-02-02 04:06:16] [EMAIL PROTECTED] This could happen for example if you compiled mnogosearcg statically with mysql and trying to compile it with php, which is also required mysql. So you are linking mysql twice. To fix this - just compile mnogosearch and php with dynamic libs not static. ------------------------------------------------------------------------ [2002-01-25 11:28:33] [EMAIL PROTECTED] Same issues but with RedHat 6.2. Like the original poster, I also copied libtool from my 4.0.6 installation and it works fine. ------------------------------------------------------------------------ [2002-01-18 06:39:03] [EMAIL PROTECTED] /usr/lib/mysql/libmysqlclient.a(getvar.o)(.text+0x28c): first defined here /usr/lib/mysql/libmysqlclient.a(my_lib.o): In function `my_dir': my_lib.o(.text+0x18): multiple definition of `my_dir' /usr/lib/mysql/libmysqlclient.a(longlong2str.o)(.text+0x13c): first defined here /usr/lib/mysql/libmysqlclient.a(llstr.o): In function `llstr': llstr.o(.text+0x0): multiple definition of `llstr' /usr/lib/mysql/libmysqlclient.a(llstr.o)(.text+0x0): first defined here /usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x0): multiple definition of `ctype _latin1' /usr/lib/mysql/libmysqlclient.a(ctype-big5.o)(.data+0x301): multiple definition of `sort_order_big5' /usr/lib/mysql/libmysqlclient.a(ctype-big5.o)(.data+0x301): first defined here /usr/lib/mysql/libmysqlclient.a(ctype-big5.o): In function `my_strcoll_big5': ctype-big5.o(.text+0x51c): multiple definition of `my_strcoll_big5' /usr/lib/mysql/libmysqlclient.a(ctype-tis620.o)(.text+0x4e4): first defined here /usr/lib/mysql/libmysqlclient.a(ctype-ujis.o)(.data+0x0): multiple definition of ` ctype_ujis' /usr/lib/mysql/libmysqlclient.a(ctype-ujis.o)(.data+0x0): first defined here /usr/lib/mysql/libmysqlclient.a(ctype-ujis.o)(.data+0x101): multiple definition of `to_lower_ujis' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x9bc): first defined here /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_pargs_': dbug.o(.text+0xac8): multiple definition of `_db_pargs_' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xac8): first defined here /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_lock_file': dbug.o(.text+0xae0): multiple definition of `_db_lock_file' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xae0): first defined here /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_unlock_file': dbug.o(.text+0xaf4): multiple definition of `_db_unlock_file' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xaf4): first defined here collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/usr/src/php-4.1.1' make: *** [all-recursive] Error 1 :(((( I'm a bit tired of this problem. It's a completely different machine, but the error is the same. So, it would be great if a PHP developer could help to us... Regards, Istvan ------------------------------------------------------------------------ [2002-01-16 10:39:57] [EMAIL PROTECTED] nope :( mnogosearch 3.2.3 - errors at compile time: In file included from /usr/local/mnogosearch-3.2.3/include/udmsearch.h:37, from /root/php-4.1.1/ext/mnogosearch/php_mnogo.h:31, from internal_functions.c:37: /usr/local/mnogosearch-3.2.3/include/udm_doc.h:7: parse error before `1' make[2]: *** [internal_functions.lo] Error 1 mnogosearch 3.1.19 - errors at linktool time: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple definition of `mysql_unix_port' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o): In function `net_safe_read': libmysql.o(.text+0x1cc): multiple definition of `net_safe_read' [...] /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_pargs_': dbug.o(.text+0xac8): multiple definition of `_db_pargs_' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xac8): first defined here /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_lock_file': dbug.o(.text+0xae0): multiple definition of `_db_lock_file' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xae0): first defined here /usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_unlock_file': dbug.o(.text+0xaf4): multiple definition of `_db_unlock_file' /usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xaf4): first defined here collect2: ld returned 1 exit status ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14824 -- Edit this bug report at http://bugs.php.net/?id=14824&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php