Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Run the script through dos2unix after downloading
- # to install dos2unix from command line
- # dont forget to chmod the script with commands chmod +x <Scriptname.sh>
- echo "Sorting out Codelite which wont load"
- echo "Reporting error while loading shared libraries: "
- echo " libplugin.so: cannot open shared object file: No such file or directory"
- echo "MD Harrington Next issue with openSUSE Leap 15.1 No end of errors found so far !"
- echo
- echo
- echo "installing dos2unix for you in case this does not exist Patiance "
- sudo zypper install dos2unix
- sleep 3s
- clear
- echo "Changing to admin status "
- echo " Changing to directory etc/ld.so.conf.d"
- cd /etc/ld.so.conf.d
- echo "Adding /usr/lib64/codelite to codelite.conf so codelite can find libraries "
- sleep 3s
- echo
- echo
- echo "Please wait while this is done "
- sudo touch /etc/ld.so.conf.d/codelite.conf
- sudo chmod 777 codelite.conf
- echo "/usr/lib64/codelite" >> codelite.conf
- echo "Self check to see if done result of cat codelite.conf are ... "
- echo
- cat /etc/ld.so.conf.d/codelite.conf
- echo
- echo
- echo "Now reloading libraries"
- sudo ldconfig
- echo " You should now be able to run codelite with no issues we hope !!"
- echo "Thanks done !! "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement