LinuxQuestions.org
Visit Jeremy's Blog.
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 02-17-2011, 06:18 AM   #1
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
Alsaequal cannot open shared library


I installed alsaequal http://www.thedigitalmachine.net/alsaequal.html and dependencies ladspa-sdk and caps, all via sbopkg. Per instructions I created ~/.asoundrc like so:
Code:
ctl.equal {
  type equal;
}

pcm.plugequal {
  type equal;
  # Modify the line below if you don't
  # want to use sound card 0.
  slave.pcm "plughw:0,0";
  # or if you want to use with multiple applications output to dmix
  # slave.pcm "plug:dmix"
}

pcm.equal {
  # Or if you want the equalizer to be your
  # default soundcard uncomment the following
  # line and comment the above line.
# pcm.!default {
  type plug;
  slave.pcm plugequal;
}
I'm getting this 'cannot open shared library' error even though that file does in fact exist at the indicated location. I'm running -current.
Code:
$ alsamixer -D equal
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_ctl_equal.so
cannot open mixer: No such device or address
Has anyone run into this or successfully installed alsaequal? I also tried on a 13.1 install and got the same result.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-17-2011, 08:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
alsamixer -D equal :
Seems to be hard coded to look for libasound_module_ctl_equal.so
in /usr/lib64/alsa-lib/ only.

Solution : Edit the Makefile in alsaequal/ to usr/lib64/ instead of /usr/lib/:
lines 48-49 and 53-54.
Then the libraries are installed to /usr/lib64/alsa-lib/.


More bugs :
Also hard coded to look for caps.so, etc. in /usr/lib/ladspa/ only !

And a fix :
cd /usr/lib/ && mkdir ladspa && cd ladspa/ && ln -s /usr/lib64/ladspa/* .
( Where the period ( . ) means the current directory.)

Now the command 'alsamixer -D equal' will open the alsamixer.

..

Last edited by knudfl; 02-17-2011 at 08:48 AM.
 
Old 02-17-2011, 12:55 PM   #3
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 29
Thanks. I'll give it a shot tonight when I get home.
 
Old 02-17-2011, 01:14 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Hi, I'm aware of this issue and will be uploading new version asap. Until then you can grab the slackbuild from my site which has a patch that fixes the lib64 issue:

http://www.dawoodfall.net/slackbuilds/13.1/alsaequal/

Last edited by dive; 02-17-2011 at 01:15 PM.
 
2 members found this post helpful.
Old 02-17-2011, 08:44 PM   #5
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by dive View Post
Hi, I'm aware of this issue and will be uploading new version asap. Until then you can grab the slackbuild from my site which has a patch that fixes the lib64 issue:

http://www.dawoodfall.net/slackbuilds/13.1/alsaequal/
Thanks, much. This did the trick for both current (64) and 13.1 (32).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] intercepting open() in Linux by shared library auli Programming 2 02-16-2010 11:50 AM
shared library : libfg.so: cannot open shared object file error 40 x_gaurav Programming 2 06-28-2009 06:29 AM
ldd reports shared library missing, but library exists on disk athv_gr Linux - Newbie 7 05-13-2009 12:31 PM
gcc link shared library against another shared library qcp Linux - Newbie 1 07-25-2008 11:15 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

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

All times are GMT -5. The time now is 11:53 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