Skip to contentSkip to conversation

: e2fsprogs generates absolute symlinks in the root, confusing ldconfig

Buildroot bugs at busybox.net 1 participant 1 message Dec 13, 2007

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1565
======================================================================

Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1565
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-30-2007 23:54 PDT
Last Modified:              12-13-2007 04:38 PST

======================================================================
Summary: e2fsprogs generates absolute symlinks in the root,
confusing ldconfig
Description:
e2fsprogs generates symlinks within the build tree to absolute paths eg /lib/libext2.so.*. This works ok on the target system, but confuses ldconfig when run on the host before generating the image - it ends up reading the host libraries and gets confused, especially if the endianness of the host is different to the target.

Attached patch causes e2fsprogs to make relative links instead.
======================================================================

----------------------------------------------------------------------
vanokuten - 12-13-07 04:38
----------------------------------------------------------------------
fixed in 20649 rev

Issue History
Date Modified Username Field Change
======================================================================

10-30-07 23:54  hmoffatt       New Issue                                    
10-30-07 23:54  hmoffatt       Status                   new => assigned     
10-30-07 23:54  hmoffatt       Assigned To               => buildroot       
10-30-07 23:54  hmoffatt       File Added: br-e2fs.diff                     
12-13-07 04:38  vanokuten      Status                   assigned => closed  
12-13-07 04:38  vanokuten      Note Added: 0003169                          

======================================================================