I am trying out OSS v4.2-build2019 on Tinycore 64 bit and looked at the soundon script.
lines 276-288 appear to create the sym links for a 64 bit system with the 2 main action lines being
ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
# Setup libOSSlib.so
if test -f $OSSLIBDIR/lib/libOSSlib.so
then
if test "`uname -m` " = "x86_64 "
then
ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
else
if test -s /lib/libasound.so.2
then
ln -sf $OSSLIBDIR/lib/libOSSlib.so /lib
ln -sf $OSSLIBDIR/lib/libossmix.so /lib
fi
IMHO this appears to attempt to create one sym link and then is replaced by another so that if I run
Code: Select all
ls -al /usr/lib64
lrwxrwxrwx 1 root root 29 Mar 29 18:41 /usr/lib64 -> /usr/lib/oss/lib/libossmix.so
##########################
If anyone has time....let me know your thoughts on above
I am not a great coder....in fact no claims of coding skills.....but I wonder if the script needs a / at the end of each line?
thanks for reading