Bug 215093 - /usr/lib/libasound.la is missing in alsa-lib-devel
Summary: /usr/lib/libasound.la is missing in alsa-lib-devel
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL: http://www.portaudio.com/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-10 21:45 UTC by Yan Morin
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-13 12:27:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
adding libasound.la (885 bytes, patch)
2006-11-10 21:45 UTC, Yan Morin
no flags Details | Diff

Description Yan Morin 2006-11-10 21:45:06 UTC
Description of problem:
I develop SFLphone package and I need libportaudiocpp (v2.0 or v19)
The libportaudiocpp needs the library libasound.la from alsa-lib-devel.
I found that in the alsa-lib.spec, this file is excluded. Is there a reason?

Version-Release number of selected component (if applicable):
alsa-lib 1.0.12

How reproducible:
always

Steps to Reproduce:
1. yum install alsa-lib-devel
2. rpm -ql alsa-lib-devel | grep libasound.la     
  
Actual results:
returns nothing, the file is excluded from -devel in the spec

Expected results:
alsa-lib-devel should include libasound.la

Additional info:
Portaudio snapshot:
http://portaudio.com/archives/pa_snapshot_v19.tar.gz
./configure --enable-cxx    (to build cpp binding and libportaudiocpp)

/bin/sh ../libtool --tag=CXX --mode=link g++  -g -O2 -Wall -ansi -pedantic   -o
libportaudiocpp.la -rpath /usr/local/lib -version-info 0:12:0 -no-undefined
BlockingStream.lo CallbackInterface.lo CallbackStream.lo CFunCallbackStream.lo
CppFunCallbackStream.lo Device.lo DirectionSpecificStreamParameters.lo
Exception.lo HostApi.lo InterfaceCallbackStream.lo MemFunCallbackStream.lo
Stream.lo StreamParameters.lo System.lo SystemDeviceIterator.lo
SystemHostApiIterator.lo ../../../lib/libportaudio.la 
grep: /usr/lib/gcc/i386-redhat-linux/4.0.2/../../..//libasound.la: No such file
or directory
/bin/sed: can't read
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../..//libasound.la: No such file or
directory
libtool: link: `/usr/lib/gcc/i386-redhat-linux/4.0.2/../../..//libasound.la' is
not a valid libtool archive
make[2]: *** [libportaudiocpp.la] Error 1
make[2]: Leaving directory
`/home/users/ymorin/sflphone/sflphone/tools/portaudio/bindings/cpp/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/users/ymorin/sflphone/sflphone/tools/portaudio/bindings/cpp'
make: *** [all-recursive] Error 2

Note that you have to remove portaudio directory and untar the archive when you
add the libasound.la file and you want to test it after.


Patch to alsa-lib.spec: see attachment.

Comment 1 Yan Morin 2006-11-10 21:45:06 UTC
Created attachment 140941 [details]
adding libasound.la

Comment 2 Martin Stransky 2006-11-13 12:27:34 UTC
Yes, all *.la files were removed from Fedora and libtool is deprecated in FC6.
Use dynamic linking instead...


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