Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
01-14-2006, 08:00 PM
|
#1
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Rep:
|
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.
Last edited by dave`2005; 01-14-2006 at 08:02 PM.
|
|
|
01-15-2006, 03:52 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep: ![Reputation: 139](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
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
|
|
|
01-15-2006, 08:07 AM
|
#3
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
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
Installing package flac-1.1.2-i486-2 ([optional])...
PACKAGE DESCRIPTION:
blablablablablabla
/sbin/ldconfig: /lib/libFLAC.so.1.0 is not an ELF file - it has the wrong magic bytes at the start.
Executing install script for flac-1.1.2-i486-2...
Tried to run amarok anyway and i get the same as before:
Code:
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
Any ideas?
|
|
|
01-15-2006, 08:45 AM
|
#4
|
Member
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33
Rep:
|
Remove this RPM package You have installed. IMHO installpkg does not remove or overwite files by default.
|
|
|
01-15-2006, 08:08 PM
|
#5
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
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](https://www.linuxquestions.org/questions/images/smilies/confused.gif)
|
|
|
01-16-2006, 02:58 AM
|
#6
|
Member
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33
Rep:
|
How did you uninstall it? Perhaps you may manualy remove 'bad' files?
|
|
|
01-16-2006, 04:47 AM
|
#7
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
I removed using pkgtool, do you know what/where these bad files may be?
|
|
|
01-16-2006, 07:52 PM
|
#8
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
anyone know where these bad files could be hiding?
|
|
|
01-17-2006, 03:42 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep: ![Reputation: 139](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
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
|
|
|
01-17-2006, 04:13 AM
|
#10
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
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!
Last edited by vbisis; 01-17-2006 at 04:17 AM.
|
|
|
01-17-2006, 12:53 PM
|
#11
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
Solved
Thank you very much, linking libFLAC.so to libFLAC.so.6 worked ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif) still giving out some errors in the console but who cares it works ty.
|
|
|
01-17-2006, 01:03 PM
|
#12
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
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
Installing package cabextract-1.1-i486-1rsa...
PACKAGE DESCRIPTION:
cabextract: cabextract (A program to extract Microsoft Cabinet files)
cabextract:
cabextract: Cabinet (.CAB) files are a form of archive, which Microsoft use to
cabextract: distribute their software, and things like Windows Font Packs. The
cabextract: cabextract program unpacks these files. Build script is available
cabextract: at /usr/doc/cabextract-1.1.
cabextract:
cabextract: Packaged by R S Ananda Murthy on a stock Slackware 10.2 system.
/sbin/ldconfig: /lib/libFLAC.so.1.0 is not an ELF file - it has the wrong magic bytes at the start.
Any ideas if i can use linking to solve this one too? I've tried but not sure what to link it to.
dave.
|
|
|
01-17-2006, 02:58 PM
|
#13
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
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 ![Wink](https://www.linuxquestions.org/questions/images/smilies/wink.gif) .
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 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|