/usr/bin/amarok: /usr/bin/amarok: /bin/bash: bad interpreter: Argument list too long
i tried changing the last line of the script to read
Code: Select all
/opt/kde/bin/amarok "$@" &
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
amarokapp: /usr/lib/./libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by /root/my-applications/lib/libtag.so.1)
Perhaps it needs an different version from whats in the library pup?
MU wrote:use this script to start amarok:
Save it asCode: Select all
#!/bin/bash export LD_LIBRARY_PATH=/root/my-applications/lib:$LD_LIBRARY_PATH amarok "$@" &
/usr/bin/amarok
Make it executable:
chmod 755 /usr/bin/amarok
/usr/bin is searched before /opt (KDE-folders), so if the command "amarok" is executed, this script will run, use the correct library, and then execute amarok from KDE.
Did not try myself as I don't have amarok, but I think it should work.
Mark