Re: Problem compiling php 4.1.2, help, anyone?
| From: | Mikael Ratshinskij | Date: | Sat, 09 Feb 2002 11:54:47 +0000 |
| Subject: | Re: Problem compiling php 4.1.2, help, anyone? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6299@lists.php.net to get a copy of this message | ||
On Saturday, February 9, 2002, at 01:47 PM, Mikael Ratshinskij wrote:
Already tried that, thanks, but... still the same problem. PHP4.0.6 compiles ok, though... Maybe it's got something to do with program versions? BTW, I'm running RedHat 7.1... Mike On Saturday, March 9, 2002, at 01:43 PM, Andrey Hristov wrote:Internet-tiedottaja / Internet Information Coordinator Jyväskylän kaupunki / City of Jyväskylä, Finland PL 193, 40101 Jyväskylä / PO Box 193, FIN-40101Jyväskylä http://www.jyvaskyla.fi puh (014) 624382 Kiireellisissä asioissa matkapuhelimeeni pääsee soittamalla kaupungin verkosta 2194PHP4 has its own version of libmysql. If you are not using MySQL4 then try --with-mysql instead of --with-mysql=/usr Best regards, Andrey Hristov On Saturday 09 February 2002 11:32 am, you wrote:I' compiling withs this conf: ./configure --prefix=/usr --with-config-file-path=/etc --with-apxs --with-exec-dir=/usr/bin --with-mysql=/usr --with-gd --with- mnogosearch=/usr/local/mnogosearch --with-xml --enable-gd-native-ttf And most of the "make" procedure goes fine, but after a while its starts giving warnings like his: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/ mysq l/ libmysql/libmysql.c:111: first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple definition of `mysql_unix_port' ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/ mysq l/ libmysql/libmysql.c:111: first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o): In function `mysql_debug': libmysql.o(.text+0x710): multiple definition of `mysql_debug' ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/ mysq l/ libmysql/libmysql.c:560: first defined here ... and finally ends like this collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/home/mike/misc/php-4.1.2' make: *** [all-recursive] Error 1 Any ideas? Mikael Ratschinskij Internet-tiedottaja / Internet Information Coordinator Jyväskylän kaupunki / City of Jyväskylä, Finland PL 193, 40101 Jyväskylä / PO Box 193, FIN-40101Jyväskylä http://www.jyvaskyla.fi puh (014) 624382 Kiireellisissä asioissa matkapuhelimeeni pääsee soittamalla kaupungin verkosta 2194Mikael Ratschinskij