Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82137

Summary: sys-apps/gawk-3.1.4-r2 depends on dynamic library libexpat.so.0 which is in /usr/lib
Product: Gentoo Linux Reporter: Jon R. Fox <drjonfox>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jon R. Fox 2005-02-15 10:43:46 UTC
AWK is needed by the boot scripts to boot the system. On a Linux system boot should not depend on /usr being mounted, only /lib, /bin/, /sbin, and /etc. The new gawk-3.1.4-r2 builds with a dependency on /usr/lib/libexpat.so.0 (check by 'ldd /bin/awk') and this renders many systems unbootable as awk is needed by boot scripts. My LVM2 systems cannot boot without a downgrade to sys-apps/gawk/gawk-3.1.3-r2. I have had to chroot from a LiveCD and downgrade to correct this on all my systems.

Reproducible: Always
Steps to Reproduce:
1. emerge -Du gawk 
2. reboot
3. system replies "awk: error while loading shared libraries: libexpat.so.0"
4. System cannot run lvm utilities. All report "Locking type1 intialization failed"


Actual Results:  
System won't boot up properly. /etc/init.d/checkfs can't run without working awk.

Expected Results:  
Do not depend on libexpat or move it to /lib
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-15 10:59:08 UTC

*** This bug has been marked as a duplicate of 81793 ***