qLinux
… a distribution study
<< Prev Install the Basic System
Next >> Zlib-1.2.11
First run
fixsrctree -d .
Apply a patch to fix some pathes not covered by  fixsrctree 
:
patch -p1 < ../_sources/_patches/musl-qlinux-pathes.patch
We use the same steps like the last time
./configure --prefix=/qlnx \ --includedir=/qlnx/inc \ --syslibdir=/qlnx/lib
make
make install
Create a script for  ldd 
:
cat > /qlnx/bin/ldd <<EOF #!/qlnx/bin/sh exec /qlnx/lib/ld-musl-x86_64.so.1 --list "\$@" EOF chmod 0755 /qlnx/bin/ldd
Or create a symlink for the  ldd 
(deprecated):
ln -s ../lib/ld-musl-x86_64.so.1 /qlnx/bin/ldd
<< Prev Install the Basic Sytem
Next >> Zlib-1.2.11