Bug 143248

Summary: ksh93's libshell.so.1 may be in the wrong place
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Felix Schulte <felix.schulte>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dgk, felix.schulte, forgotten_AxJOWNyuVy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Felix Schulte 2006-01-13 23:56:13 UTC
libshell.so.1 provided by ksh93 may be in the wrong place.
Per % ldd /bin/ksh
        linux-gate.so.1 =>  (0xffffe000)
        libshell.so.1 => /lib/ast/libshell.so.1 (0x40018000)
        libdll.so.1 => /lib/ast/libdll.so.1 (0x40090000)
        libdl.so.2 => /lib/libdl.so.2 (0x400b2000)
        libast.so.5 => /lib/ast/libast.so.5 (0x400b6000)
        libcmd.so.1 => /lib/ast/libcmd.so.1 (0x4018c000)
        libm.so.6 => /lib/tls/libm.so.6 (0x401bd000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401e3000)
        /lib/ld-linux.so.2 (0x40000000)
it is located in /lib/ast/ but the other applications like dbx may depend on this library as well. A better place may be /usr/lib/.

CC:ing David Korn (Korn Shell author) and Roland Mainz for comments.
Comment 1 Dr. Werner Fink 2006-01-16 14:15:17 UTC
This is correct place.  /usr/ is not valid for a maybe used
system shell because /usr/ may or may not be available in
super user mode or without network.  Next ist, that for
a clean name space I've choosen /lib/ast/ to seperate the
non GPL libs from other GPL libs and applications.
We're not allowed to link GPL based applications with
the ast libraries.