From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 11:11:16 2003 Return-Path: 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 007BE16A4BF for ; Wed, 27 Aug 2003 11:11:16 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2184E43FE1 for ; Wed, 27 Aug 2003 11:11:14 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h7RIATsW005678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Aug 2003 19:11:03 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h7RIATEP005677; Wed, 27 Aug 2003 19:10:29 +0100 (BST) (envelope-from matthew) Date: Wed, 27 Aug 2003 19:10:29 +0100 From: Matthew Seaman To: Jerry McAllister Message-ID: <20030827181029.GB84387@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Jerry McAllister , Yann , freebsd-questions@freebsd.org References: <001201c36cb9$c4c99280$da88fea9@yann> <200308271647.h7RGlprl016914@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <200308271647.h7RGlprl016914@clunix.cl.msu.edu> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-8.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Yann cc: freebsd-questions@freebsd.org Subject: Re: Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 18:11:16 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 27, 2003 at 12:47:51PM -0400, Jerry McAllister wrote: > >=20 > > Firstly , excuse me for my bad english but I'm french student. > >=20 > > I am installing an web test server with a FreeBSD 4-4 distribution, i= =20 > > install Mysql 4.0.14 and apache 1.3.23 successfully , but when I add=20 > > (with pkg_add) php4 > > apache doesn't want to run, and show this error > >=20 > > Syntax error on line 237 of /usr/local/etc/apache/httpd.conf:=20 > > Cannot load /usr/local/libexec/apache/libphp4.so into server:=20 > > /usr/local/libexec/apache/libphp4.so: Undefined symbol "nl_langinfo"=20 > >=20 > > I read the bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=3D3180= 6=20 > > but, because i'm a beginner I had not understand the things to do. >=20 > Two things you need to do: > One, break you lines in your message at around 70 characters. It > will make it much easier to respond from text based Email clients. >=20 > Two, include in your message the contents of line 237 (plus maybe a > few lines before and a few after) from /usr/local/etc/apache/httpd.conf > Since that is what it is complaining about, it could be essential=20 > for diagnosing the problem. Normally, yes. But in this case, I think you'll find line 237 is just where apache loads the libphp shared object. The OP's problem is that they've got a mismatch between the gettext shlib version on their system and the gettext shlib version that PHP was compiled against. If you've updated the gettext port recently, and have /usr/local/lib/libintl.so.5 present on your system, then you also need to recompile your PHP port so that it links against the new libintl.so.5 library. In fact, you would need to do that for every binary that links against gettext, which is going to be a fair fraction of all of the ports you've got installed. See Joe Marcus Clarke's HEADS-UP and the resulting thread for one way of doing that: http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg00009.html http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg00011.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/TPQVdtESqEQa7a0RAupBAJ91R+2AtavGKnfCq0oPqn5X2Dd9LACfc/bo 3OVoXTWZeS7hhOv/7P/tHJY= =TzOa -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--