query soundon script

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

aus9
New Member
Posts: 1
Joined: Fri Mar 29, 2019 10:55 am
Sound Card: Intel Corporation Sunrise Poin
OS: Tinycore 64 bit

query soundon script

Postby aus9 » Fri Mar 29, 2019 11:08 am

Hi

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

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests