Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-07-2006, 08:38 PM
|
#1
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Rep: 
|
Errors with shared libraries with K3b and superkaramba
I've tried to install K3b and superkaramba with installpkg. I got my packages from Linuxpackages.net and I'm using i686 arch because I have an AMD chip on my laptop, if this makes a difference or not.
When installing I got no errors for both K3b and superkaramba...
But when I try to run them, these are the errors that I get:
Code:
root@probot:/opt/kde/bin# ./k3b
./k3b: error while loading shared libraries: libsamplerate.so.0: cannot open shared object file: No such file or directory
Code:
root@probot:/opt/kde/bin# superkaramba
superkaramba: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
Not sure how to troubleshoot.
thanks
|
|
|
01-07-2006, 10:05 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
The files from linuxpackages.net usually list their dependencies in /install.
In your case, it is pretty clear. You need to install libsamplerate and libfam.
|
|
|
01-08-2006, 11:01 AM
|
#3
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by shilo
You need to install libsamplerate and libfam.
|
Does it matter what directory I place libsamplerate to install it?
BTW, I've d/l the package from linuxpackage.net.
Quote:
Originally Posted by shilo
You need to install libfam.
|
I've also checked google and linuxpackage.net and can't find libfam to d/l. Where can I find it?
Also, once I d/l it, where do I install the package?
thanks
|
|
|
01-08-2006, 11:34 AM
|
#4
|
Member
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36
Rep:
|
I installed k3b from source and had no problems nor compiling nor using it.
|
|
|
01-08-2006, 11:58 AM
|
#5
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by julot
I installed k3b from source and had no problems nor compiling nor using it.
|
I used installpkg to install it and got the package from linuxpackage.net...
Are you running 10.2 Slackware and 3.4 KDE?
thanks
|
|
|
01-08-2006, 12:19 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
Quote:
Originally Posted by JockVSJock
Does it matter what directory I place libsamplerate to install it?
BTW, I've d/l the package from linuxpackage.net.
|
Yes (and no). If it goes to /usr/lib, you are all set. If it installs to /usr/local/lib, you need to make sure it is in you library path. You do that by adding the directory to /etc/ld.so.conf. Never hurts to run ldconfig again, so go ahead and do that.
If compiling for yourself, you can pass prefix="/usr" to install to /usr. Otherwise, it will install to /usr/local. Matter of preference.
Quote:
Originally Posted by JockVSJock
I've also checked google and linuxpackage.net and can't find libfam to d/l. Where can I find it?
|
libfam is part of fam. Look for the package "fam".
Quote:
Originally Posted by JockVSJock
Also, once I d/l it, where do I install the package?
|
If it is a package, the choice has already been made for you. If you compile, same as above.
Quote:
Originally Posted by julot
I installed k3b from source and had no problems nor compiling nor using it.
|
Of course. If you compile yourself, you don't have to worry about dependencies introduced by a packager.
|
|
|
01-08-2006, 02:21 PM
|
#7
|
Member
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36
Rep:
|
Yes, I installed Slack yesterday. Is Slackware 10.2 and kde 3.4.2
|
|
|
01-09-2006, 09:51 PM
|
#8
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by shilo
Yes (and no). If it goes to /usr/lib, you are all set. If it installs to /usr/local/lib, you need to make sure it is in you library path. You do that by adding the directory to /etc/ld.so.conf. Never hurts to run ldconfig again, so go ahead and do that.
|
I checked /etc/ld.so.conf and this is what is shows...
Code:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
It shows /usr/lib but then also goes into /qt/lib, it is ok then to install libsamplerate and libfam in /usr/lib?
I also show /usr/local, so I could also install here?
thanks
|
|
|
01-10-2006, 12:05 PM
|
#9
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Followup:
I've installed missing lib under /usr/lib with installpkg and both superkaramba and k3b now work.
thanks all for the help!!!
|
|
|
01-22-2006, 09:43 AM
|
#10
|
LQ Newbie
Registered: Mar 2004
Distribution: slack
Posts: 10
Rep:
|
I too dl the packages from LP, got the same error as the poster, just wondering where I can get the 'libsamplerate' from?
I did tried to compiled it myself but got error when trying to 'checkinstall'.
if you guys please walk me through this, it'd be much appreciated.
|
|
|
01-22-2006, 11:10 AM
|
#11
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by dethree
I too dl the packages from LP, got the same error as the poster, just wondering where I can get the 'libsamplerate' from?
I did tried to compiled it myself but got error when trying to 'checkinstall'.
if you guys please walk me through this, it'd be much appreciated.
|
Hit linuxpackages.net and use installpkg.
Matter of fact, here is the direct URL below:
http://www.linuxpackages.net/search_...erate&ver=10.2
|
|
|
01-24-2006, 01:50 AM
|
#12
|
LQ Newbie
Registered: Mar 2004
Distribution: slack
Posts: 10
Rep:
|
yep, downloaded the package from LP and use the installpkg on it.
then run it using the k3b command and got this message.
Code:
k3b: error while loading shared libraries: libsamplerate.so.0: cannot open shared object file: No such file or directory
If I read this whole thread correctly I should put the file some where in /usr/lib, the big question is where can I find this file. 
|
|
|
01-24-2006, 06:17 PM
|
#13
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
See the post right above you. Download the package from that link. Use installpkg to install it.
|
|
|
02-10-2006, 08:40 AM
|
#14
|
LQ Newbie
Registered: Feb 2006
Posts: 3
Rep:
|
hi all!
i had the same problem and got it fixed very fast because of your tips!
!!! THANKS !!!
cu, woife
|
|
|
All times are GMT -5. The time now is 11:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|