LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Errors with shared libraries with K3b and superkaramba (https://www.linuxquestions.org/questions/slackware-14/errors-with-shared-libraries-with-k3b-and-superkaramba-400738/)

JockVSJock 01-07-2006 08:38 PM

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

shilo 01-07-2006 10:05 PM

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.

JockVSJock 01-08-2006 11:01 AM

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

julot 01-08-2006 11:34 AM

I installed k3b from source and had no problems nor compiling nor using it.

JockVSJock 01-08-2006 11:58 AM

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

shilo 01-08-2006 12:19 PM

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.

julot 01-08-2006 02:21 PM

Yes, I installed Slack yesterday. Is Slackware 10.2 and kde 3.4.2

JockVSJock 01-09-2006 09:51 PM

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

JockVSJock 01-10-2006 12:05 PM

Followup:

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

thanks all for the help!!!

dethree 01-22-2006 09:43 AM

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.

JockVSJock 01-22-2006 11:10 AM

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

dethree 01-24-2006 01:50 AM

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.:confused:

shilo 01-24-2006 06:17 PM

See the post right above you. Download the package from that link. Use installpkg to install it.

woife 02-10-2006 08:40 AM

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 02:41 AM.