Bug 1201

Summary: uClibc does not respect FHS
Product: uClibc Reporter: Abdoulaye Walsimou Gaye <walsimou>
Component: Standard ComplianceAssignee: Bernhard Reutner-Fischer <aldot>
Status: RESOLVED FIXED    
Severity: enhancement CC: uclibc-cvs
Priority: P5    
Version: unspecified   
Target Milestone: 0.9.31   
Hardware: PC   
OS: Linux   
Host: Target: mips64 n32 abi
Build:
Attachments: thoughts 1

Description Abdoulaye Walsimou Gaye 2010-02-28 12:20:12 UTC
uClibc does not respect Filesystem Hierarchy Standard (FHS).
For exemple for mips64 n32 abi generated shared libraries should be located at /lib32 /usr/lib32. But uClibc install machinery unconditionally install shared libraries in /lib and /usr/lib even if SHARED_LIB_LOADER_PREFIX set.
Comment 1 Bernhard Reutner-Fischer 2010-03-12 15:59:52 UTC
I suggest that for 0.9.31 onward, we change SHARED_LIB_LOADER_PREFIX to
MULTILIB_DIR (or another name) that consists of one path component.

You would typocally set that to one of:
- lib
- lib32
- lib64

interp would base off that. see attachment for untested thoughts.
Comment 2 Bernhard Reutner-Fischer 2010-03-12 16:01:00 UTC
Created attachment 1207 [details]
thoughts 1

not a patch
Comment 3 Bernhard Reutner-Fischer 2010-03-12 16:17:19 UTC
I've applied this as 58a0daa6a5f4ef60234ad8200017d6d19be287c7
Let me know if that works fine for you now (or if i broke something).
TIA,
Comment 4 Bernhard Reutner-Fischer 2010-03-12 18:20:12 UTC
Fixed in 0.9.31.
Comment 5 Abdoulaye Walsimou Gaye 2010-03-15 07:29:28 UTC
Ok work fine for me.
Thanks