amarok error
Hi all, ive been trying to try out amarok, installed it, when i run it i get:
amaroK: [Loader] Starting amarokapp.. amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp. amarokapp: error while loading shared libraries: libFLAC.so.6: cannot open shared object file: No such file or directory I searched for the libflac .tgz but couldnt find one, then i read i could convert libflac-1.1.2-alt2.i586.rpm into a .tgz and use that to get the missing file. I converted it using rpm2pkg, when i try to install this i get: Installing package libflac-1.1.2-alt2.i586... PACKAGE DESCRIPTION: /sbin/ldconfig: /lib/libFLAC.so.1.0 is not an ELF file - it has the wrong magic bytes at the start. Anyone know what im doing wrong? I upgraded to kde 3.5 earlier, dont know if thats relivant. |
The package you are looking for is in the ap/ directory of your cd and is called flac-1.1.2-i486-2.tgz
Hope this helps Samac |
Found the flac package on the slackware cd 1, im getting this:
Code:
/mnt/cdrom/slackware/ap>installpkg flac-1.1.2-i486-2.tgz Code:
amaroK: [Loader] Starting amarokapp.. |
Remove this RPM package You have installed. IMHO installpkg does not remove or overwite files by default.
|
I uninstalled the rpm, then installed flac-1.1.2-i486-2.tgz off of cd1, got the same message as above. Also the same error message when trying to run amarok. Anyone know how to get round this? :confused:
|
How did you uninstall it? Perhaps you may manualy remove 'bad' files?
|
I removed using pkgtool, do you know what/where these bad files may be?
|
anyone know where these bad files could be hiding?
|
As root
removepkg flac updatedb locate flac Anything that is left over must be from your rpm, just rm it. Then installpkg flac...etc Samac |
Problem is Slackware uses a different Version of libflac.so.
Try find / -name libFLAC.so or find / -name libFLAC.so.* After locating the file change to the folder and ln -s libFLAC.so libFLAC.so.6 Worked for me ( had libFLAC.so.7 installed and got the same error message. creating a link to libFLAC.so.6 fixed it and amarok runs great ) You can as well have a look at the tgz-file (extract it) and see what files are in. then just link libFLAC.so to libFLAC.so.6. Good luck! |
Solved
Thank you very much, linking libFLAC.so to libFLAC.so.6 worked :) still giving out some errors in the console but who cares it works ty.
|
Sorry to be a pain in the ass but im getting a very similar error from another package:
Code:
installpkg cabextract-1.1-i486-1rsa.tgz dave. |
I think you can consider this message more as a warning.
Linking only helps if a program is looking for different version than installed. Well it actually a matter of try and error ;). As far as I know ldconfig is responsible for letting your system know what libraries are installed and where they are. http://www.linux-mips.org/wiki/ELF there is an explanation about elf Maybe it helps you. |
All times are GMT -5. The time now is 07:38 PM. |