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 01-07-2006, 08:38 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 01-07-2006, 10:05 PM   #2
shilo
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: Reputation: 50
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.
 
Old 01-08-2006, 11:01 AM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 01-08-2006, 11:34 AM   #4
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
I installed k3b from source and had no problems nor compiling nor using it.
 
Old 01-08-2006, 11:58 AM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 01-08-2006, 12:19 PM   #6
shilo
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: Reputation: 50
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.
 
Old 01-08-2006, 02:21 PM   #7
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
Yes, I installed Slack yesterday. Is Slackware 10.2 and kde 3.4.2
 
Old 01-09-2006, 09:51 PM   #8
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 01-10-2006, 12:05 PM   #9
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Followup:

I've installed missing lib under /usr/lib with installpkg and both superkaramba and k3b now work.

thanks all for the help!!!
 
Old 01-22-2006, 09:43 AM   #10
dethree
LQ Newbie
 
Registered: Mar 2004
Distribution: slack
Posts: 10

Rep: Reputation: 0
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.
 
Old 01-22-2006, 11:10 AM   #11
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 01-24-2006, 01:50 AM   #12
dethree
LQ Newbie
 
Registered: Mar 2004
Distribution: slack
Posts: 10

Rep: Reputation: 0
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
Code:
libsamplerate.so
some where in /usr/lib, the big question is where can I find this file.
 
Old 01-24-2006, 06:17 PM   #13
shilo
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: Reputation: 50
See the post right above you. Download the package from that link. Use installpkg to install it.
 
Old 02-10-2006, 08:40 AM   #14
woife
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
hi all!

i had the same problem and got it fixed very fast because of your tips!

!!! THANKS !!!

cu, woife
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 07:47 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM

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

All times are GMT -5. The time now is 07:25 AM.

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