Bug 8321 - /usr/lib/libasound.so is missing
Summary: /usr/lib/libasound.so is missing
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 09:43 CET by Vladimir Gurevich
Modified: 2012-12-07 12:59 CET (History)
1 user (show)

See Also:
Source RPM: libalsa2-1.0.26-4.mga3
CVE:
Status comment:


Attachments

Description Vladimir Gurevich 2012-12-07 09:43:00 CET
Description of problem:

The rpm contains /usr/lib/libasound.so.2 and /usr/lib/libasound.so.2.0.0, but not /usr/lib/ libasound.so, that should be just a symlink to libasound.so.2.0.0

As a result, when building software with -m32 -lasound (on 64-bit platforms at least), we get an error, since the linker is looking for libasound.so file.

How reproducible:

Always. I tried to build nyquist, but any program should do as ling as you use -m32 and -lasound

The fix is trivial.
Comment 1 Thierry Vignaud 2012-12-07 12:59:36 CET
The "urpmf libasound.so" command is your friend:
$ urpmf libasound.so                                                          
lib64alsa2-devel:/usr/lib64/libasound.so
lib64alsa2:/usr/lib64/libasound.so.2
lib64alsa2:/usr/lib64/libasound.so.2.0.0
libalsa2:/usr/lib/libasound.so.2
libalsa2:/usr/lib/libasound.so.2.0.0
libalsa2-devel:/usr/lib/libasound.so

For the record, programs are linked to libfoobar.so.MAJOR
libfoobar.so is only needed when compiling.
When compiling, you need the devel headers, thus this is why libfoobar.so is included in devel package (such as lib(64)foobar-devel).

Here you need to install libalsa2-devel

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.