From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 16:56:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64313106566C for ; Thu, 19 Apr 2012 16:56:27 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 345988FC15 for ; Thu, 19 Apr 2012 16:56:27 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1SKueU-000Mkl-Ic; Thu, 19 Apr 2012 12:56:20 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) by Gregory-Larkins-iMac.local (Postfix) with ESMTP id 28BF81152216; Thu, 19 Apr 2012 12:56:14 -0400 (EDT) Message-ID: <4F9043AD.4030504@FreeBSD.org> Date: Thu, 19 Apr 2012 12:56:13 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Lars Eighner References: In-Reply-To: X-Enigmail-Version: 1.4 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org, Aleksandr Miroslav Subject: Re: pcre library linking issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 16:56:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/19/12 11:28 AM, Lars Eighner wrote: > On Thu, 19 Apr 2012, Aleksandr Miroslav wrote: > >> I inadvertently updated my PCRE library and in the process broke >> a number of things that depended on the old library. >> > Not the right answer but works: > > Create a symbolic link in the library so libpcre.so.0 points to > libpcre.so.1 > > The old library should have been moved to a compatibility library > so that things that still depended on it could find it. This did > not happen for some reason. Fortunately, it appears that > libpcre.so.1 is (largely) backwards compatible, so much (all?) of > what depended on it will work if fooled by a symbolic link. Some > upgrades will wipe out the link so it may be necessary to recreate > it until things get straightened out. > Another option that works well is the /etc/libmap.conf file: http://www.freebsd.org/cgi/man.cgi?query=libmap.conf Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+QQ60ACgkQ0sRouByUApDj6QCgtKl1kymoGvmKgy/rE1TOCTxg glUAn0/nq+fmmluDLiM3meAjxdgUJsRZ =H3uc -----END PGP SIGNATURE-----