Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 12:56:13 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Lars Eighner <lars@larseighner.com>
Cc:        freebsd-questions@freebsd.org, Aleksandr Miroslav <alexmiroslav@gmail.com>
Subject:   Re: pcre library linking issues
Message-ID:  <4F9043AD.4030504@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1204191028280.59367@abbf.6qbyyneqvnyhc.pbz>
References:  <CACcSE1wFR0LHe+=Ni+WKu0hy-drHvQiuh_=i8k7HaYHq5egcWA@mail.gmail.com> <alpine.BSF.2.00.1204191028280.59367@abbf.6qbyyneqvnyhc.pbz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
-----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-----



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F9043AD.4030504>