From owner-freebsd-current Wed Jan 29 21:48:59 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E65AB37B401 for ; Wed, 29 Jan 2003 21:48:56 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB4E043F93 for ; Wed, 29 Jan 2003 21:48:53 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com (Exim 4.12 #4 (FreeBSD)) protocol: local id 18e7Y4-0006NI-00 ; Thu, 30 Jan 2003 08:47:40 +0300 Date: Thu, 30 Jan 2003 08:47:40 +0300 From: Odhiambo Washington To: Adam Bayless Cc: freebsd-current@FreeBSD.ORG Subject: Re: PHP on 5.0RELEASE Message-ID: <20030130054740.GG89264@ns2.wananchi.com> References: <20030129114855.D5796-100000@geri.cc.fer.hr> <5.1.0.14.0.20030129110928.00bce518@mail.baylessfamily.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20030129110928.00bce518@mail.baylessfamily.org> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Don't go surfing in South Dakota for a while. X-Operating-System: FreeBSD 4.7-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.1i (2002-05-02) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 8:43AM up 6 days, 13:22, 5 users, load averages: 0.70, 0.59, 0.52 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Adam Bayless [20030129 21:11]: wrote: > > > I've got a big ugly PHP build on a brand new, otherwise clean 5.0 box that > is dumping cores. It works great as an apache module, but the CLI always > coredumps. Here's gdb's output: > > Core was generated by `php'. > Reading symbols from /usr/libexec/ld-elf.so.1...done. > Loaded symbols for /usr/libexec/ld-elf.so.1 > #0 0x2856dde0 in strcmp () from /usr/lib/libc.so.5 What happens is you do the following: ln -s /usr/lib/libc.so.5 /usr/lib/libc.so.4 I had apache core dumping on 5.0-RELEASE until I did that. I haven't had time to revisit this issue although I vaguely remember something like that being discussed.. > and here is what php is configured with as per customer's request: > > './configure' \ > '--with-apxs=/usr/local/apache/bin/apxs' \ > '--with-mysql=/usr/local' \ > '--with-imap=/usr/local' \ > '--enable-track-vars' \ > '--with-mhash' \ > '--with-pspell' \ > '--with-gd' \ > '--with-ftp' \ > '--enable-sysvmsg' \ > '--enable-sysvsem' \ > '--enable-sysvshm' \ > '--enable-sockets' \ > '--enable-exif' \ > '--enable-discard-path' \ > '--enable-bcmath' \ > '--with-mm' \ > '--with-openssl' \ > '--with-curl' \ > '--with-pfpro=/usr/local/payflowpro' \ > '--with-zlib' \ > > Does anyone have any ideas before I try removing one line at a time from > the config till I find the culprit? I am sure it's not the lines in the config file. -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Lieberman's Law: Everybody lies, but it doesn't matter since nobody listens. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message