LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-14-2013, 08:14 AM   #16
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106

Quote:
Originally Posted by yakoub View Post
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 ?
Try searching in slakfinder.org

Eric
 
1 members found this post helpful.
Old 08-14-2013, 08:49 AM   #17
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Easy way:
Code:
locate libatk
/usr/lib64/libatk-1.0.so.0
/usr/lib64/libatk-1.0.so.0.20409.1
/usr/lib64/libatk-1.0.la
/usr/lib64/libatkmm-1.6.so.1.1.0
/usr/lib64/libatk-1.0.so
/usr/lib64/libatkmm-1.6.so.1
/usr/lib64/libatkmm-1.6.so
/usr/lib64/libatkmm-1.6.la
It's there, now, what package is it in?
Code:
fgrep libatk /var/log/packages/*
/var/log/packages/atk-2.4.0-x86_64-1:usr/lib64/libatk-1.0.la
/var/log/packages/atk-2.4.0-x86_64-1:usr/lib64/libatk-1.0.so.0.20409.1
/var/log/packages/atkmm-2.22.6-x86_64-1_SBo:usr/lib64/libatkmm-1.6.so.1.1.0
/var/log/packages/atkmm-2.22.6-x86_64-1_SBo:usr/lib64/libatkmm-1.6.la
The first two are standard equipment, the last two are SlackBuilds.org.

'Course you need to build the slocate data base (with slocate -u) first...

Hope this helps some.
 
Old 08-14-2013, 10:00 AM   #18
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,784

Rep: Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460
Quote:
Originally Posted by yakoub View Post
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.
 
1 members found this post helpful.
Old 08-15-2013, 12:43 AM   #19
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Petri Kaukasoina View Post
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 .

Last edited by yakoub; 08-15-2013 at 12:50 AM.
 
Old 08-15-2013, 12:57 AM   #20
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by yakoub View Post
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

Last edited by ponce; 08-15-2013 at 01:07 AM.
 
Old 08-15-2013, 01:06 AM   #21
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yakoub View Post
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" .
 
Old 08-15-2013, 01:16 AM   #22
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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
Code:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
with the last step be sure not to remove stuff you need (assuming it still works after the procedure, maybe it will need to be rebuilt).

Last edited by ponce; 08-15-2013 at 02:12 AM.
 
Old 08-15-2013, 04:23 AM   #23
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ponce View Post
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
Code:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
with the last step be sure not to remove stuff you need (assuming it still works after the procedure, maybe it will need to be rebuilt).
ya i know, but i still try to be smart about it and did the following :

Code:
upgrade xfce
upgrade x 
upgrade l
and that is it, no need to upgrade all .
and whenever i notice things breaking then i look-up that particular package and upgrade it .
 
Old 08-15-2013, 04:38 AM   #24
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.

Last edited by ponce; 08-15-2013 at 05:13 AM.
 
Old 08-15-2013, 02:33 PM   #25
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ponce View Post
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 .
 
Old 08-15-2013, 02:44 PM   #26
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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).

Last edited by ponce; 08-15-2013 at 02:49 PM.
 
Old 08-15-2013, 02:50 PM   #27
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by yakoub View Post
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 View Post
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/
 
Old 08-15-2013, 05:12 PM   #28
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.

Eric
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Skype and installing libraries/packages Bedour86 Linux - Newbie 2 10-15-2010 07:02 PM
No libraries, no packages... Tux-O-Matic Linux - General 5 11-28-2006 01:36 AM
help installing missing libraries/packages zoolez Slackware 4 11-25-2006 03:34 PM
orphan packages and libraries alexrait1 Slackware 1 07-05-2004 06:18 PM
libraries, packages, file locations janve Slackware 4 11-29-2003 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration