LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 02:42 AM   #1
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Rep: Reputation: 15
libraries and packages


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 ?
 
Old 08-14-2013, 02:49 AM   #2
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 113

Rep: Reputation: Disabled
thw special tool is called www.google.com
 
Old 08-14-2013, 02:52 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Examples, searching for a file, e.g. libatk-bridge-2.0.so.0

Debian online search http://packages.debian.org/search?se...ridge-2.0.so.0
>> http://packages.debian.org/wheezy/libatk-bridge2.0-0 >>
> Links for libatk-bridge2.0-0 >> Download Source Package at-spi2-atk >
>> [at-spi2-atk_2.5.3.orig.tar.xz] (+ patch [at-spi2-atk_2.5.3-2.debian.tar.gz])

And "rpm pbone" http://rpm.pbone.net/ >> Search > Advanced Search :
: libatk-bridge-2.0.so.0 > Tick e.g. Fedora 19, and click the Search button >
> ~at-spi2-atk-2.8.1-1.fc19.i686.rpm :
Click the file, and the next page will appear >> Source RPM :
at-spi2-atk-2.8.1-1.fc19.src.rpm

"at-spi2-atk" https://mail.gnome.org/archives/gnom.../msg00023.html

-

Last edited by knudfl; 08-14-2013 at 03:13 AM.
 
Old 08-14-2013, 03:08 AM   #4
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
yakoub,

what do you want to install? Did you check if it is already at http://slackbuilds.org/ ?
 
Old 08-14-2013, 03:46 AM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,783

Rep: Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460Reputation: 1460
There is no need to install libatk-bridge-2.0.so.0 to Slackware from Debian, Fedora or slackbuilds.org because a Slackware installation already has it. If the poster has decided not to install everything, he should know what he is doing.

By the way, it seems that the slackpkg man page contains an error in the usage example, see below. The command should be "slackpkg file-search libatk-bridge-2.0.so.0", not just search.


Code:
      file-search
            You can search the official Slackware packages for any file in the
            Slackware distribution.  Do you need a strange library?  Use file-
            search to find it.

                 # slackpkg search filename

            All packages with matching "filename" will be shown, thus you  can
            see  whether  the  packages  are installed or not; if not, you can
            download and install them with other slackpkg actions.
 
1 members found this post helpful.
Old 08-14-2013, 04:09 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@Petri Kaukasoina :
Quote:
There is no need to install libatk-bridge-2.0.so.0 to
Slackware from Debian, Fedora or slackbuilds.org
Why would anybody do that ?

Post #3 is about an easy method to decide the name of a source package,
when a file is used as as search criteria.

-
 
Old 08-14-2013, 04:21 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
actually slacpkg file-search is much more easy for Slackware case
 
Old 08-14-2013, 04:31 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Code:
grep libatk-bridge-2.0.so.0 /var/log/{packages,scripts}/*
or
Code:
grep -r libatk-bridge-2.0.so.0 /var/log/{packages,scripts}
Output is empty, thus it's not shipped in an installed Slackware package in my system.

PS To check all files included in packages in a full Slackware installation, expand e.g. http://mirrors.slackware.com/slackwa...e/MANIFEST.bz2

You will see other MANIFEST.bz2 files in other packages' directories: /extra, /testing, /patches, /sources and /pasture case occurring.

Last edited by Didier Spaier; 08-16-2013 at 02:47 PM. Reason: added /source
 
1 members found this post helpful.
Old 08-14-2013, 04:43 AM   #9
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
You can also try:

http://packages.slackware.com/

http://search.slackware.eu/
 
Old 08-14-2013, 04:48 AM   #10
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Examples, searching for a file, e.g. libatk-bridge-2.0.so.0

Debian online search http://packages.debian.org/search?se...ridge-2.0.so.0
>> http://packages.debian.org/wheezy/libatk-bridge2.0-0 >>
> Links for libatk-bridge2.0-0 >> Download Source Package at-spi2-atk >
>> [at-spi2-atk_2.5.3.orig.tar.xz] (+ patch [at-spi2-atk_2.5.3-2.debian.tar.gz])

And "rpm pbone" http://rpm.pbone.net/ >> Search > Advanced Search :
: libatk-bridge-2.0.so.0 > Tick e.g. Fedora 19, and click the Search button >
> ~at-spi2-atk-2.8.1-1.fc19.i686.rpm :
Click the file, and the next page will appear >> Source RPM :
at-spi2-atk-2.8.1-1.fc19.src.rpm

"at-spi2-atk" https://mail.gnome.org/archives/gnom.../msg00023.html

-
this is not helpfull because the name of debian or fedora package may not be the same as slackware .
many software in debian are partitioned into several packages while Slackware would have a single package for the whole software .
 
Old 08-14-2013, 04:53 AM   #11
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Ilgar View Post
this worked and 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
 
Old 08-14-2013, 05:00 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 10 .
Quote:
this is not helpfull because the name of debian or fedora package
may not be the same as slackware
Please look carefully, and watch that it is a method to decide the source package name.
→ → https://mail.gnome.org/archives/gnom.../msg00023.html
→ → http://ftp.gnome.org/pub/GNOME/sources/at-spi2-atk/2.8/
>> http://ftp.gnome.org/pub/GNOME/sourc...k-2.8.0.tar.xz
>> at-spi2-atk-2.8.0.tar.xz

-
 
Old 08-14-2013, 05:06 AM   #13
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
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
audacious is already included in Slackware, why build it again?

Furthermore it compiles OK on Slackware-14.0, I just checked.

Blind guess: maybe you tried to compile an alien version (not shipped in Slackware)?
 
Old 08-14-2013, 05:16 AM   #14
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
this worked and 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
as Petri already pointed out above, if you decide not to do a Slackware full install, the only one supported, consider that you're basically on your own.

said that, on my full installation I got
Code:
# slackpkg file-search libatk-bridge

Looking for libatk-bridge in package list. Please wait... DONE

The list below shows the packages that contains "libatk-bridge" file.

[ installed ] - at-spi2-atk-2.8.1-x86_64-1

You can search specific packages using "slackpkg search package".
 
1 members found this post helpful.
Old 08-14-2013, 07:52 AM   #15
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
audacious is already included in Slackware, why build it again?
So that after you have installed ffmpeg, you can play .m4a files. http://www.linuxquestions.org/questi...7/#post3971239
 
  


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 03:06 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