[kde-freebsd] multimedia/kdemultimedia4 build error: cannot find -lcanberra

Jan Henrik Sylvester me at janh.de
Fri May 25 21:24:25 UTC 2012


The build of kdemultimedia-4.8.3 fails for me:

/usr/bin/c++  -fPIC -O2 -pipe -fno-strict-aliasing -Woverloaded-virtual 
-fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 
-DNDEBUG -DQT_NO_DEBUG  -lc -shared -Wl,-soname,kded_kmixd.so -o 
../lib/kded_kmixd.so CMakeFiles/kded_kmixd.dir/kded_kmixd_automoc.o 
CMakeFiles/kded_kmixd.dir/dbus/dbusmixerwrapper.o 
CMakeFiles/kded_kmixd.dir/dbus/dbusmixsetwrapper.o 
CMakeFiles/kded_kmixd.dir/dbus/dbuscontrolwrapper.o 
CMakeFiles/kded_kmixd.dir/controladaptor.o 
CMakeFiles/kded_kmixd.dir/mixeradaptor.o 
CMakeFiles/kded_kmixd.dir/mixsetadaptor.o 
CMakeFiles/kded_kmixd.dir/backends/mixer_backend.o 
CMakeFiles/kded_kmixd.dir/backends/mixer_mpris2.o 
CMakeFiles/kded_kmixd.dir/apps/kmixd.o 
CMakeFiles/kded_kmixd.dir/core/ControlPool.o 
CMakeFiles/kded_kmixd.dir/core/MasterControl.o 
CMakeFiles/kded_kmixd.dir/core/mixer.o 
CMakeFiles/kded_kmixd.dir/core/mixset.o 
CMakeFiles/kded_kmixd.dir/core/mixdevice.o 
CMakeFiles/kded_kmixd.dir/core/volume.o 
CMakeFiles/kded_kmixd.dir/core/mixertoolbox.o 
CMakeFiles/kded_kmixd.dir/core/kmixdevicemanager.o -L/usr/local/kde4/lib 
-L/usr/local/lib/qt4 /usr/local/kde4/lib/libkdeui.so.7.0.1 
/usr/local/kde4/lib/libsolid.so.5.0.1 /usr/local/lib/qt4/libQtXml.so 
-lcanberra /usr/local/kde4/lib/libkdecore.so.7.0.1 
/usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so -pthread 
/usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtSvg.so 
-Wl,-rpath,/usr/local/kde4/lib:/usr/local/lib/qt4::::::::::::::::::::
/usr/bin/ld: cannot find -lcanberra
*** Error code 1

libcanberra is installed correctly including the pc file.

Full build log (without MAKE_JOBS_SAFE=yes) is available:

http://www.math.uni-hamburg.de/home/sylvester/freebsd/kdemultimedia4-LOG.xz

Cheers,
Jan Henrik


More information about the kde-freebsd mailing list