Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309871 - dev-libs/libpcre-7.9-r1 request to include symlink libpcre.so.3
Summary: dev-libs/libpcre-7.9-r1 request to include symlink libpcre.so.3
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 22:31 UTC by Renato Alves
Modified: 2010-06-25 00:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.