LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   audacity unable to locate required lib files present in /usr/lib/ (http://www.linuxquestions.org/questions/slackware-14/audacity-unable-to-locate-required-lib-files-present-in-usr-lib-505854/)

adityavpratap 11-29-2006 05:45 AM

audacity unable to locate required lib files present in /usr/lib/
 
Hi,
I installed audacity from linuxpackages.net. Now when I try to run it, I am getting a lot of error messages despite of installing all the required packages. For example,
Quote:

audacity: error while loading shared libraries: libwx_gtk2u_adv-2.6.so.0: cannot open shared object file: No such file or directory
now libwx_gtk2u_adv-2.7.so.1.0.0 is present in /usr/lib/, and I think audacity is searching for them in /lib. I tried to link as follows
Quote:

sudo ln -s /usr/lib/libwx_gtk2u_adv-2.7.so.1.0.0 /lib/lib2x_gtk2u_adv-2.6.so.0
but there are so many lib files that are to be manually linked like this. Is there a simpler way out of this mess?

The_Outlander 11-29-2006 07:37 AM

Is it looking in /usr/local/lib. That should not be the case with a Slackware package, but I do recall a similar problem with another package for this reason.

If the dependent libs are in /usr/lib, compiling from source with --prefix=/usr and then creating the package with checkinstall -S might save you time in the long run.

Anyone have a better solution.

gegechris99 11-30-2006 04:34 AM

Hello,

I checked linuxpackages.net and they don't have audacity packages for Slackware 11.0.

Which package did you install, which audacity version ?
Which Slackware version are you running (11.0 I guess based on your profile)?

adityavpratap 11-30-2006 05:39 AM

You are right, there is no package for 11.0.
I am using the following package
audacity-1.3.0b-i486-1kjz.tgz
on Slackware 11.0, probably that is the reason why I am getting those errors. Is there a way out?

gegechris99 11-30-2006 06:06 AM

First remove the package you've installed.

Then install a 11.0 package.

You'll find a 11.0 package at this location:

http://www.slacky.it/index.php?optio...ileinfo&id=531

Even if the site is in italian language, you can read that there are dependencies (dependenze) that are also available on the site (http://www.slacky.it). Just do a search with the box on the top left of the page.

Install the dependencies first in the order listed and everything should be fine.

I use a lot of packages from this site and if you follow the dependencies as described you'll have no surprise (except that it works out of the box)


All times are GMT -5. The time now is 04:16 AM.