Bug 47290

Summary: relocating libpcre.so.*
Product: [Retired] Red Hat Raw Hide Reporter: Alastair Tse <liquidxpub>
Component: pcreAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: Bernhard Rosenkraenzer <bero>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-04 14:17:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alastair Tse 2001-07-04 14:17:36 UTC
Description of Problem:
I would like to suggest that libpcre.so.* not be located in /lib but in
/usr/lib. I don't understand why it is in /lib. The reason why I am
suggesting this is because a program I was compiling claled modlogan which
failed because libpcre.so.* was in /lib. I moved it to /usr/lib and reran
ldconfig and it worked.

Maybe I don't know how shared libraries work properly :(

Comment 1 Bernhard Rosenkraenzer 2001-07-05 13:41:07 UTC
We're putting pcre in /lib because (/bin/)grep 2.5 will depend on it.
While we're still at grep 2.4, it isn't obvious, I know. But we'd rather put 
it in the right place(TM) right away than having to move it later (when we 
update grep).

If modlogan doesn't find it there, that's their bug: Any application using 
pcre should use "pcre-config --libs" and "pcre-config --cflags" to get the 
location of pcre.