Bugzilla – Bug 143248
ksh93's libshell.so.1 may be in the wrong place
Last modified: 2006-01-16 14:15:17 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.
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.