Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2198 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3715 invoked from network); 6 Jun 2003 12:13:18 -0000 Received: from unknown (HELO sky.net.ua) (193.109.103.2) by pb1.pair.com with SMTP; 6 Jun 2003 12:13:18 -0000 Received: from gluke.DOMAIN (gluke-loc.sky.net.ua [192.168.5.9]) by sky.net.ua (8.11.6/8.11.6) with ESMTP id h56CD9414768 for ; Fri, 6 Jun 2003 15:13:09 +0300 Resent-Date: Fri, 6 Jun 2003 15:13:09 +0300 Resent-Message-Id: <200306061213.h56CD9414768@sky.net.ua> Date: Fri, 6 Jun 2003 15:12:51 +0300 X-Mailer: The Bat! (v1.62 Christmas Edition) Personal X-Priority: 3 (Normal) Message-ID: <5923611281.20030606151251@sky.net.ua> To: internals@lists.php.net Resent-from: Sergey Kartashoff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.6 required=10.0 tests=AWL,BAYES_10,EMAIL_ATTRIBUTION version=2.54 X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) X-Kaspersky-Antivirus: passed Subject: Re: #24005 [Opn->Asn]: Distributions version of mnoGoSearch extension does not work with MySQL 4 From: gluke@sky.net.ua (Sergey Kartashoff) Hi! Friday, June 6, 2003, 2:32:33 PM, you wrote: spn> gluke@php.net you have just been assigned to this bug by sniper@php.net spn> ./configure --with-mysql=/usr --with-gd --with-ttf --enable-track-vars spn> --with-apxs2=/usr/local/apache2/bin/apxs --with-mnogosearch spn> --with-jpeg-dir=/root/source/jpeg-6b/ spn> --with-png-dir=/usr/local/lib/libpng.a spn> --with-zlib-dir=/usr/local/lib/zlib.a spn> --with-tiff-dir=/usr/local/lib/libtiff.a --with-mnogosearch spn> It failed complaining about "ext/mysql/phpmysql.c: undefined reference spn> to mysql_create_db". I downloaded the latest php-extension from spn> www.mnogosearch.org (mnogosearch-php-extension-1.7.3.tar.gz) and spn> replaced the contents of ext/mnogosearch with the files in this archive spn> and it all worked a treat (with a quick edit to remove the second spn> reference to -lmysqlclient in the EXTRA_LIBS line the PHP Makefile... spn> but I think that mnoGo's fault!) spn> Sergey, deal with this. Could you please help me with this ? Could it be because of twice --with-mnogosearch string in configure ? I thought that error could be caused by buggy linker, since gcc does support multiple references to the same library. The second reference to libmysqlclient come from udmconfig script while configuring php. It return compiler swithes that used to compile mnogosearch. E.g. -lmysqlclient -L/usr. It worked for many users for years, and i really dont understand how to fix this at now. -- Regards, Sergey aka gluke.