From owner-freebsd-questions Tue Oct 8 2:16:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7928737B401 for ; Tue, 8 Oct 2002 02:16:22 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43BDA43E4A for ; Tue, 8 Oct 2002 02:16:21 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g989GHVc013969; Tue, 8 Oct 2002 10:16:17 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g989GCbb013968; Tue, 8 Oct 2002 10:16:12 +0100 (BST) Date: Tue, 8 Oct 2002 10:16:12 +0100 From: Matthew Seaman To: John Rosanbalm Cc: Matthew Seaman , dodi agusri , freebsd-questions@FreeBSD.ORG Subject: Re: is mysql working well with FreeBSD 4.5 ? Message-ID: <20021008091612.GA13848@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , John Rosanbalm , Matthew Seaman , dodi agusri , freebsd-questions@FreeBSD.ORG References: <20021008075557.4921.qmail@web14809.mail.yahoo.com> <20021008081716.GB10638@happy-idiot-talk.infracaninophi> <004601c26ea7$43995030$5401a8c0@accounting> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004601c26ea7$43995030$5401a8c0@accounting> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 08, 2002 at 01:46:51AM -0700, John Rosanbalm wrote: > Can anyone tell me why I am getting the following error? > > Failed to apply changes : Syntax error on line 237 of > /usr/local/etc/apache/httpd.conf: Cannot load > /usr/local/libexec/apache/libphp3.so into server: > /usr/local/lib/mysql/libmysqlclient.so.10: Undefined symbol "strtoll" > I am trying to get mysql-php3 and 4 working with apache-1.3.27 > I have 4.2 freebsd but have install the ports upgrade to stable at > freebsd.org FreeBSD 4.2 predates the introduction of strtoll(3) which is part of the ISO-C99 standard. Prior to that there was an almost identical strtoq(3) function, now deprecated, which was FreeBSD specific. In fact, the strtoll.c source code file was created by a repo copy of the old strtoq.c file: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/strtoll.c Upgrade to a more recent FreeBSD version. 4.7-RELEASE will be out within days. Cheers, Matthew PS. ports doesn't have any concept of 'stable' or 'current'. There is just the main branch. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message