Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libFLAC.so.4 and Amarok 1.2.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
netshade
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 84
Location: Sweden

PostPosted: Fri May 20, 2005 8:06 am    Post subject: libFLAC.so.4 and Amarok 1.2.3 Reply with quote

This is turning to a very bad annoyance, Amarok is the first jukebox-program that I found that does almost everything I want. And it can handle a collection of more than 17.000 tracks. Needless to say, I love it, I need it. But at some point it broke, I guess it was when I upgraded FLAC to 1.1.2-r2.

Now it complains about lack of libFLAC.so.4. I tried to reemrge FLAC, gst-plugins-flac and Amarok, searched here to find that FLAC 1.1.2 was broken so I downgraded to 1.1.1, it complained about libFLAC.so.7, re-emerged amarok and it's back to complaining about libFLAC.so.4 again. I have no clue what to do next, and I kind of need it running. (I told my girlfriend who hates my linux-box about the greatness of Amarok, just to find it broken. :oops: )

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.4: cannot open shared object file: No such file or directory


/Mattias.

(By the way, if someone knows what's wrong with scummvm-0.7.1 and mldonkey-2.5.16-r10, I wouldn't mind info on that either. :) )
_________________
From where the shadows turn into nightmare, netshade greets you...
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 338
Location: California USA

PostPosted: Fri May 20, 2005 8:38 am    Post subject: Reply with quote

I got sick of this and unmerged flac. I don't have any flac files anyways :) You could disable flac just for amarok:
Code:
echo "media-sound/amarok -flac" >> /etc/portage/package.use

_________________
Zac
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri May 20, 2005 8:40 am    Post subject: Reply with quote

ran into that problem some time ago....

Do this:
1. emerge gentoolkit
2. upgrade the system (i.e. install the versions you want)
3. `revdep-rebuild` ... wait and enjoy

Cheers
V.
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 338
Location: California USA

PostPosted: Fri May 20, 2005 8:47 am    Post subject: Reply with quote

revdep-rebuild is good after you unmerge flac too :wink:

Cheers
_________________
Zac
Back to top
View user's profile Send private message
netshade
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 84
Location: Sweden

PostPosted: Fri May 20, 2005 12:09 pm    Post subject: Reply with quote

Strange...

revdep-rebuild complains about a package that doesn't exist anymore, and disabling flac and re-emerging amarok doesn't change a thing.. (I checked the flags with -v and flac is definately disabled... )

Any more clues? :?
_________________
From where the shadows turn into nightmare, netshade greets you...
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 338
Location: California USA

PostPosted: Fri May 20, 2005 5:16 pm    Post subject: Reply with quote

netshade wrote:
revdep-rebuild complains about a package that doesn't exist anymore

What message does it give? Normally revdep-rebuild calls emerge with --nodeps. If one of the packages doesn't exist anymore you can either unmerge it or add the missing ebuild to your PORTDIR_OVERLAY tree.

netshade wrote:
disabling flac and re-emerging amarok doesn't change a thing.. (I checked the flags with -v and flac is definately disabled... )

With some ebuilds the use flags will not disable a feature because the configure script detects the library's headers and uses the unwanted library anyways. That's probably why I got sick of it and unmerged flac.
_________________
Zac
Back to top
View user's profile Send private message
Jakub
Guru
Guru


Joined: 04 Oct 2003
Posts: 377
Location: Warsaw, Poland

PostPosted: Fri May 20, 2005 7:44 pm    Post subject: Reply with quote

Try making a symlink:
Code:

ln -s path_to_libFLAC.so_present_on_your_system path_to_libFLAC.so_amarok_complains_about
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 338
Location: California USA

PostPosted: Fri May 20, 2005 8:02 pm    Post subject: Reply with quote

I've used the symlink hack before too... I believe you need to run ldconfig after you create the symlink.
_________________
Zac
Back to top
View user's profile Send private message
zervus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2005
Posts: 133

PostPosted: Fri May 20, 2005 11:00 pm    Post subject: Reply with quote

I had the same problem. While emerge installed the new FLAC version, it told me to run revdep-rebuild afterwards and that then I could remove the old version of the library by hand. Revdep-rebuild automatically recompiled amaroK, but after I moved the prior FLAC library to a backup directory I got the same error message. For now I just copied the old version back...

For other libraries this procedure usually works, so I don't know what went wrong here.
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Fri May 20, 2005 11:02 pm    Post subject: Reply with quote

re-emerge taglib or tunepimp... I don't remember which one.
Back to top
View user's profile Send private message
zervus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2005
Posts: 133

PostPosted: Fri May 20, 2005 11:38 pm    Post subject: Reply with quote

Epyon wrote:
re-emerge taglib or tunepimp... I don't remember which one.

Yay, it works! Re-emerging tunepimp and then amarok solves the issue.

Thanks alot, Epyon!
Back to top
View user's profile Send private message
netshade
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 84
Location: Sweden

PostPosted: Mon May 23, 2005 12:40 pm    Post subject: Reply with quote

Yup, thanks! :D

Amarok is great, wish there were a Gnome app that worked as well... :/
_________________
From where the shadows turn into nightmare, netshade greets you...
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Mon May 23, 2005 8:14 pm    Post subject: Reply with quote

Well, I think it should be made a separate topic, but still:

After I upgraded libflac, many symlinks (/usr/lin/libFLAC.so.x, /usr/lin/libOggFLAC.so.x and so on where x is 1,2,3,4,5) have disappeared. I had to manually create them in order to be able to use oggenc, amaroK and KAudioCreator. Shouldn't the ebuild make a symlink for these files? Should I file a bugreport?
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
mOjO_420
n00b
n00b


Joined: 11 Jun 2003
Posts: 71
Location: Suburbs of Chicago, IL, USA

PostPosted: Sat Sep 24, 2005 3:47 am    Post subject: Reply with quote

Code:
cd /usr/lib
ln -s libFLAC.so.7.0.0 libFLAC.so.4


that fixed it for me...
_________________
http://thegeekclub.net
Back to top
View user's profile Send private message
wolfden
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 102
Location: Midwest

PostPosted: Tue Oct 04, 2005 1:32 pm    Post subject: Reply with quote

mOjO_420 wrote:
Code:
cd /usr/lib
ln -s libFLAC.so.7.0.0 libFLAC.so.4


that fixed it for me...


sweet - that did it for me too
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Nov 30, 2005 1:46 pm    Post subject: Reply with quote

Moved from Multimedia to Duplicate Threads in favour of Update to libflac and failure of revdep-rebuild...
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum