Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2200 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39556 invoked from network); 6 Jun 2003 14:31:54 -0000 Received: from unknown (HELO netphobia.fi) (213.243.181.8) by pb1.pair.com with SMTP; 6 Jun 2003 14:31:54 -0000 Received: from localhost (jani@localhost) by netphobia.fi (8.11.6/8.11.6) with ESMTP id h56EUnl26905; Fri, 6 Jun 2003 17:30:49 +0300 X-Authentication-Warning: netphobia.fi: jani owned process doing -bs Date: Fri, 6 Jun 2003 17:30:49 +0300 (EEST) Sender: jani@netphobia.fi Reply-To: Jani Taskinen To: Sergey Kartashoff cc: internals@lists.php.net In-Reply-To: <5923611281.20030606151251@sky.net.ua> Message-ID: References: <5923611281.20030606151251@sky.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: #24005 [Opn->Asn]: Distributions version of mnoGoSearch extension does not work with MySQL 4 From: sniper@iki.fi (Jani Taskinen) On Fri, 6 Jun 2003, Sergey Kartashoff wrote: >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!) > >Could it be because of twice --with-mnogosearch string in configure ? No. > 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 It should return the -L/path/to/dir where it thinks libmysqlclient is. Doesn't it? --Jani