SlackwareThis 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.
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.
given an error about missing library, how do i figure out which package contains it ?
for example : libatk-bridge-2.0.so.0
is there a special tool for that ?
found : at-spi2-atk-2.8.1-i486-1.txz
but slackpkg doesn't find it .
the reason i need it is audacious :
audacious: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory
My crystal ball says that you have Slackware 14.0 but you try to run audacious for Slackware-current. You shouldn't mix binaries like that. When Patrick compiled audacious for Slackware 14.0, the at-spi2-atk packages was not yet part of Slackware, so audacious did not link against it. But at-spi2-atk was added to Slackware-current, so when audacious was compiled for it, it was linked against the new library.
My crystal ball says that you have Slackware 14.0 but you try to run audacious for Slackware-current. You shouldn't mix binaries like that. When Patrick compiled audacious for Slackware 14.0, the at-spi2-atk packages was not yet part of Slackware, so audacious did not link against it. But at-spi2-atk was added to Slackware-current, so when audacious was compiled for it, it was linked against the new library.
thanks a lot, your crystal ball is wonderful .
and all you others who assumed i have partial slackware install or trying to compile audacious manually then you drew very wrong conclusions .
what i did do was partial slackpkg upgrade from 14 to current .
the reason slackpkg couldn't find the new package that i switched mirrors and chose 14 instead of current by mistake .
thanks a lot, your crystal ball is wonderful .
and all you others who assumed i have partial slackware install or trying to compile audacious manually then you drew very wrong conclusions .
what i did do was partial slackpkg upgrade from 14 to current .
the reason slackpkg couldn't find the new package that i switched mirrors and chose 14 instead of current by mistake .
maybe if you have described us the situation in your help request our guesses could have been more precise: we're not magicians
just to clarify: if you upgraded from slackware-14.0 to -current with
Code:
slackpkg upgrade-all
and you haven't run
Code:
slackpkg install-new
(as explained in the man page) you are running a partial install
thanks a lot, your crystal ball is wonderful .
and all you others who assumed i have partial slackware install or trying to compile audacious manually then you drew very wrong conclusions .
what i did do was partial slackpkg upgrade from 14 to current .
the reason slackpkg couldn't find the new package that i switched mirrors and chose 14 instead of current by mistake .
well actually i didn't do upgrade to current, my intention was to remain in 14 all the time .
so i guess this is a bug in slackware because "slackpkg upgrade" introduced packages that was built against slackware-current and not 14 as i intended .
and strangely i never upgraded audacious specifically to begin with, but only "upgrade l" .
you cannot upgrade only a part of the packages, as they are built against other packages/libraries and on a completely different toolchain so things most probably break: upgrading only the l serie you upgraded gtk+2 (used by audacious) that, beside other things, on -current is built against at-spi2-atk, that has been added as a new package, so you don't have it in your installation if you run just "slackpkg upgrade" from -14.0.
be advised, if you aren't already, that -current is not intended for unexperienced users: it's not a rolling release but something for developing and testing.
that said, if you want to use the new stuff safely, the only way for you is to follow what's described in the slackpkg's man page and switch completely to -current, following the procedure for upgrading from one release of the distribution to the next with slackpkg: change the mirror in /etc/slackpkg/mirrors to a -current one and
you cannot upgrade only a part of the packages, as they are built against other packages/libraries and on a completely different toolchain so things most probably break: upgrading only the l serie you upgraded gtk+2 (used by audacious) that, beside other things, on -current is built against at-spi2-atk, that has been added as a new package, so you don't have it in your installation if you run just "slackpkg upgrade" from -14.0.
be advised, if you aren't already, that -current is not intended for unexperienced users: it's not a rolling release but something for developing and testing.
that said, if you want to use the new stuff safely, the only way for you is to follow what's described in the slackpkg's man page and switch completely to -current, following the procedure for upgrading from one release of the distribution to the next with slackpkg: change the mirror in /etc/slackpkg/mirrors to a -current one and
if you prefer it this way, go for it, you are the owner of your installation and are entitled to break it as you like.
but, please, IMHO, you shouldn't come here asking why things don't work or any kind of help (read: "you're on your own") if you're mixing stuff from stable and current as that setup is completely unsupported.
if you prefer it this way, go for it, you are the owner of your installation and are entitled to break it as you like.
but, please, IMHO, you shouldn't come here asking why things don't work or any kind of help (read: "you're on your own") if you're mixing stuff from stable and current as that setup is completely unsupported.
man you are totally wrong, i didn't ask for help about my installation .
i asked a specific question and i think it is stupid that i should search for a library using a web service instead of having a command that i can run from the shell . slackpkg file-search is the best answer .
yes, but as you have experienced yourself, it can and cannot work if you switch repositories back and forth from stable to current: I was referring above mainly to the fact that you said for you it wasn't working (then you found out that was because of the switching -we cannot know about that).
man you are totally wrong, i didn't ask for help about my installation .
That was not that clear from your first post, IMO. Else you could have simply asked "How do i find which package contains "some" (not "a missing") library.
Quote:
Originally Posted by yakoub
i asked a specific question and i think it is stupid that i should search for a library using a web service instead of having a command that i can run from the shell.
It's not always stupid. A web service can be useful in case you are looking for a library that is not included in Slackware, as I don't know a shell command able to do that, working with all third-party repositories.
Last edited by Didier Spaier; 08-15-2013 at 10:46 PM.
Reason: s/which is not/that is not/
Let us all refrain from further comments here, since the OP considers himself "smart" and those who try to answer his smart questions "stupid". Obviously he does not need us.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.