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.
Created attachment 140941 [details] adding libasound.la
Yes, all *.la files were removed from Fedora and libtool is deprecated in FC6. Use dynamic linking instead...