Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 309871

Summary: dev-libs/libpcre-7.9-r1 request to include symlink libpcre.so.3
Product: Gentoo Linux Reporter: Renato Alves <simpledark>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Renato Alves 2010-03-16 22:31:15 UTC
I recently downloaded a binary package that once installed failed to start due to a missing libpcre.so.3 lib. After inspection I noticed that I had libpcre installed matching the requirements however libpcre.so.3 was not available. I also noticed that the current libpcre is listed as belonging to SLOT number 3.

I'm not familiar with library naming but to my current problem symlinking libpcre.so.0.0.1 to libpcre.so.3 was enough to solve it.

Is this symlink something that should be included in the ebuild?

Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2010-03-23 19:32:34 UTC
No, the package should be recompiled to get its ABI in line with the one on disk. Unfortunately binary packages can't be recompiled. If you are certain it just works with the symlink, you could create a wrapper script for the binary program and launch it like this:

----o<------o<----------
#!/bin/bash

export LD_PRELOAD=/lib/libpcre.so.0.0.1
insert_command_to_run_program
----o<------o<----------

Resolving as invalid, since this strictly speaking isn't a bug with Gentoo.
HTH
Comment 2 Renato Alves 2010-06-25 00:00:52 UTC
Thanks for the explanation.