Bug 1201 - uClibc does not respect FHS
Summary: uClibc does not respect FHS
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: 0.9.31
Assignee: Bernhard Reutner-Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-28 12:20 UTC by Abdoulaye Walsimou Gaye
Modified: 2010-03-15 07:29 UTC (History)
1 user (show)

See Also:
Host:
Target: mips64 n32 abi
Build:


Attachments
thoughts 1 (10.15 KB, patch)
2010-03-12 16:01 UTC, Bernhard Reutner-Fischer
Details

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