Unix Technical Forum

how can I find shared libraries?

This is a discussion on how can I find shared libraries? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> This is probably a stupid question but I think I must be dooing something wrong here. How do I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:39 PM
Tim
 
Posts: n/a
Default how can I find shared libraries?

This is probably a stupid question but I think I must be dooing something
wrong here.

How do I find missing shared libraries? How do I know in what package they
can be found?

I have an old computer with a striped down slackware 7.1 derivate (Deli
linux) and it works well but I realized that I need a decent webbrowser so I
decided to download the latest Firefox. When I try to install it I imediatly
get complaints about missing libraries. I search for them on a Slackware 9.1
cd, I have found many in the /slackware/l folder and installed them. Some
..tgz files in this folder have similar names to the missing libraries so I
found them easily. I have found that some libraries reside in packages like
glib2 etc. I have found this by lucky googling but I am sure there must be
an easier way to find in what .tgz package I will find a certain shared
library?

Right now I am having problem finding the libXrandr. I can find Debian,
Gentoo and RPMS with this library online and I am sure it is somewhere on
the CD, I just don't know how to find it. Any pointers apreciated.

Tim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:39 PM
Tim
 
Posts: n/a
Default Re: how can I find shared libraries?

"Tim" <it2gati@ituniv.se> wrote
> How do I find missing shared libraries? How do I know in what package they
> can be found?


Replying to myself here but is it maybe so that I need an pkgmanager like
apt, rpm or so? Or are the slackware tools better, like Slacker or XPKGTOOL?
Which one is recommended?

I found a package listing of xfree86-devel-4.3.0-i486-3 on this adress
http://wwwacs.gantep.edu.tr/docs/pac...l-4.3.0-i486-3

It indicated that a file libXrandr.a would be installed usr/X11R6/lib/ so I
installed this package and it seemed to work but firefox needed
libXrandr.so.2 so it didn't help.

I am pretyt sure I am doing this the complete backwards way but I don't know
what the right way is.

Tim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:39 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: how can I find shared libraries?

Tim wrote:

> This is probably a stupid question but I think I must be dooing something
> wrong here.
>
> How do I find missing shared libraries? How do I know in what package they
> can be found?


zless MANIFEST.bz2

or

www.slackwawre.com/pb

> Any pointers apreciated.


here's one: don't use packages from 9.1 on 7.1. you're asking for trouble.
either upgrade everything to 9.1 [heck, 10.0 while you're at it], or
compile stuff on 7.1 [or use 7.1 packages]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:40 PM
william.hamblen@earthlink.net
 
Posts: n/a
Default Re: how can I find shared libraries?

On 2004-09-19, Tim <it2gati@ituniv.se> wrote:
>
>
> "Tim" <it2gati@ituniv.se> wrote
>> How do I find missing shared libraries? How do I know in what package they
>> can be found?

>


The Slackware distribution contains a manifest giving which files are in
which packages. Look there.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 03:40 PM
Tim
 
Posts: n/a
Default Re: how can I find shared libraries?

"Dominik L.. Borkowski"
> Tim wrote:
> > This is probably a stupid question but I think I must be dooing

something
> > wrong here.
> >
> > How do I find missing shared libraries? How do I know in what package

they
> > can be found?

>


> zless MANIFEST.bz2


> www.slackwawre.com/pb
>


Thanks a lot, I couldn't read the manifest but the PB was just what I was
looking for. I will dig deeper into the manifest later when it is an issue
again (see below).

> > Any pointers apreciated.

> here's one: don't use packages from 9.1 on 7.1. you're asking for trouble.
> either upgrade everything to 9.1 [heck, 10.0 while you're at it], or
> compile stuff on 7.1 [or use 7.1 packages]


I think you were tight there, after installing a new x server x couldnt
start anymore and in my atempts to fix it I think I broke the rest so now I
am back to square one with my beloved system in pices.

Anyway, if I had stuck with installing packages from 7.1 I would probably
have managed without breaking anything but my question is, would the
libraries have been up to date enough to run the new Firefox?

All in all now I have downloaded 10.0 and will try to install that on
another partition.

Thanks both

Tim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:41 PM
Rich Grise
 
Posts: n/a
Default Re: how can I find shared libraries?

On Monday 20 September 2004 02:39 am, Tim did deign to grace us with the
following:

> "Dominik L.. Borkowski"


>> > Any pointers apreciated.

>> here's one: don't use packages from 9.1 on 7.1. you're asking for
>> trouble. either upgrade everything to 9.1 [heck, 10.0 while you're at
>> it], or compile stuff on 7.1 [or use 7.1 packages]

>
> I think you were tight there, after installing a new x server x couldnt
> start anymore and in my atempts to fix it I think I broke the rest so now
> I am back to square one with my beloved system in pices.
>
> Anyway, if I had stuck with installing packages from 7.1 I would probably
> have managed without breaking anything but my question is, would the
> libraries have been up to date enough to run the new Firefox?
>

Probably not a precompiled package, no. If you compiled from source,
maybe, unless they used some completely new feature that only exists
in the newer libraries.

> All in all now I have downloaded 10.0 and will try to install that on
> another partition.


I'd recommend this one - Slackware is really good about being able to trim
bloat, so space shouldn't be a problem. :-)

Cheers!
Rihc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com