From owner-freebsd-questions@FreeBSD.ORG Thu Jun 29 06:33:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F3D1416A679 for ; Thu, 29 Jun 2006 06:33:31 +0000 (UTC) (envelope-from szlists@szarka.org) Received: from hustle.szarka.net (hustle.szarka.net [204.89.131.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68A64448E2 for ; Thu, 29 Jun 2006 06:10:39 +0000 (GMT) (envelope-from szlists@szarka.org) Received: from BUCKY.szarka.org (ip-65-75-16-177.ct.dsl.ntplx.com [65.75.16.177]) (authenticated bits=0) by hustle.szarka.net (8.13.6/8.13.6) with ESMTP id k5T6AZmQ054137 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Thu, 29 Jun 2006 02:10:38 -0400 (EDT) (envelope-from szlists@szarka.org) Message-Id: <7.0.1.0.0.20060629020952.06a08128@szarka.org> Message-Id: <7.0.1.0.0.20060623115154.0583dc88@szarka.org> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Thu, 29 Jun 2006 02:10:39 -0400 To: freebsd-questions@freebsd.org From: Rob Szarka Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Error: shared library "expat.5" does not exist X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 06:33:32 -0000 [Giving this another try, in case everyone was busy watching the world cup the first time.... ;) ] I'm running into a problem compiling several PHP extensions that depend on expat. They die with an error like the following: *************** ===> fontconfig-2.2.3,1 depends on shared library: expat.5 - not found ===> Verifying install for expat.5 in /usr/ports/textproc/expat2 ===> Returning to build of fontconfig-2.2.3,1 Error: shared library "expat.5" does not exist *** Error code 1 Stop in /usr/ports/x11-fonts/fontconfig. *** Error code 1 Stop in /usr/ports/x11/xorg-libraries. *** Error code 1 Stop in /usr/ports/devel/t1lib. *** Error code 1 Stop in /usr/ports/graphics/php5-gd. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. ****************** I have the following in /usr/ports/local: -rw-r--r-- 1 root wheel 158440 Jun 23 11:03 /usr/local/lib/libexpat.a -rwxr-xr-x 1 root wheel 793 Jun 23 11:03 /usr/local/lib/libexpat.la lrwxr-xr-x 1 root wheel 13 Jun 23 11:03 /usr/local/lib/libexpat.so -> libexpat.so.6 -rwxr-xr-x 1 root wheel 157398 Jun 23 11:03 /usr/local/lib/libexpat.so.6 But not expat* It would seem that fontconfig is looking explicitly for expat.5 and that perhaps the name of the library has changed? LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ expat.5:${PORTSDIR}/textproc/expat2 I did follow this advice in UPGRADING, to no avail: "Users of expat2 (and its many dependencies) should do the following to properly update expat2 and all of its dependencies: portupgrade -rf textproc/expat2" Any suggestions about how to fix or work around this issue?