pcre library linking issues

Greg Larkin glarkin at FreeBSD.org
Thu Apr 19 16:56:27 UTC 2012


-----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-----


More information about the freebsd-questions mailing list