Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 76885 invoked from network); 2 Sep 2010 12:07:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 12:07:58 -0000 Received: (qmail 14591 invoked by uid 500); 2 Sep 2010 12:07:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 14454 invoked by uid 500); 2 Sep 2010 12:07:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 14446 invoked by uid 99); 2 Sep 2010 12:07:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:07:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of steven.whitson@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-iw0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 12:07:44 +0000 Received: by iwn38 with SMTP id 38so682391iwn.18 for ; Thu, 02 Sep 2010 05:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=tpdhN0F45TM12C5VudtRYQzjgLdvREO/YkSekV1Mg1s=; b=MdSiVmmGFxN1BmGIpBN1I499WnhMCF5Dd/wl4xO8UiMIXrEv38zOQL4fo4LV5Ec7xp SFF0K1TZZY4ueldxNV1BiwPL5p1JlJzzk/acaTiXkBP4l8kdtKdcRo3PXtOR6lfPa1Py yOzqnHOkU2+41Pz9OwhYD1NDhGAxa19YbuCOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wcs4qTbJhupDiivmMMCm95+rPfSirq7w41+Vd6t200TQ9m6yG5kQiR4Kbk0OoiFS7I h2UfL8txz3xuc6gkSatSzcENUE/yl1sbXoLJJgdskj6UBnyR3hris4bc1qR3NDVyCSSJ XGZb9fX34AlYrp6y9yl2ykiT/SwAY4LJ5iuxo= Received: by 10.231.170.21 with SMTP id b21mr10523589ibz.122.1283429244011; Thu, 02 Sep 2010 05:07:24 -0700 (PDT) Received: from [192.168.0.195] (pool-72-64-65-195.dllstx.fios.verizon.net [72.64.65.195]) by mx.google.com with ESMTPS id h8sm571359ibk.15.2010.09.02.05.07.21 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 05:07:22 -0700 (PDT) Message-ID: <4C7F9379.1070302@gmail.com> Date: Thu, 02 Sep 2010 07:07:21 -0500 From: Steve Whitson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: users@httpd.apache.org References: <4C7E70D8.10605@gmail.com> <20100901201915.66aa2b3b@baldur> <4C7EB031.1030202@gmail.com> <20100901220429.2660eb90@baldur> <4C7ECDAF.7090300@gmail.com> <4C7F92B1.5070506@gmail.com> In-Reply-To: <4C7F92B1.5070506@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] Can't load driver file apr_dbd_mysql.so Here's the error in the config log for 2.2.10 built against prebuilt mysql 5.0.67 configure:39653: checking for mysql_init in -lmysqlclient_r configure:39688: gcc -o conftest -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/usr/local/mysql/include -xarch=v8 -L/usr/local/mysql/lib -lmysqlclient_r -l z -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm -lpthread -lthread conftest.c -lmysqlclient_r -lrt -xarch=v8 -L/usr/local/mysql/lib -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm >&5 gcc: language arch=v8 not recognized ld: fatal: file conftest.c: unknown file type ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status I believe this is why it is setting apu_have_mysql='0'. Thanks, -Steve On 9/2/2010 7:04 AM, Steve Whitson wrote: > In the config.log for apr-util I see an error when I use the (from > mysql community) prebuilt 5.0.67 version of mysql & when I use the > prebuild latest version of 5.1.x of mysql. > > Here's an example (not sure which of the two I was building against with > this error, since I went back to trying builds of 2.2.9 & 2.2.10)... > > configure:27065: gcc -o conftest -g -O2 -DSOLARIS2=10 > -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE > -I/usr/local/mysql/include -xarch=v8 -L/usr/local/mysql/lib > -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl > -lm -lpthread -lthread conftest.c -lmysqlclient_r -lrt -xarch=v8 > -L/usr/local/mysql/lib -lmysqlclient_r > -lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm >&5 > gcc: language arch=v8 not recognized > ld: fatal: file conftest.c: unknown file type > > It results in setting > apu_have_mysql='0' > > and therefore doesn't build the mysql drivers. > > I may result in building my own mysql to see if that helps... unless you > have any ideas... > > Thanks much, > -Steve > > On 9/1/2010 7:44 PM, Nick Kew wrote: >> On 1 Sep 2010, at 23:03, Steve Whitson wrote: >> >>> I did notice that this version of mysql is 4.0. I want to be using 5.0 but the libmysqlclient_r library isn't available in this installation. As I had mentioned, I do have an apache 2.2.9 working using the mysql 4.0 version client. >> Is it possible you may have built against a different version to what you're >> trying to run with? APR shouldn't work with any MySQL older than 4.1! >> >>> Anyway, I'm downloading a 5.0 version of mysql to see if it will work. Apparently 5.1 isn't known, since in the config.log for apr_util (I'm sticking to just building this piece util I get it right) it had problems. >> You've lost me there! >> --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org