Summary: | FLAC dependency isn't mentioned anywhere and can cause compilation errors | ||
---|---|---|---|
Product: | [Unmaintained] kdemultimedia | Reporter: | Holger Benl <holger.benl> |
Component: | general | Assignee: | Multimedia Developers <kde-multimedia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | greg_g |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Holger Benl
2004-02-06 21:48:43 UTC
Looks like this has been fixed with recent commits: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdemultimedia/kfile-plugins/flac/configure.in.in.diff?r1=1.2&r2=1.3&f=h though it's not been committed in the 3.2 branch... CVS commit by carewolf: Backport improved configure check for libFLAC CCMAIL:74403-done@bugs.kde.org M +3 -1 configure.in.in 1.1.2.1 M +141 -5 kfile_flac.cpp 1.2 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libFLAC.so: undefined reference to `log' During 'configure', the test introduced with the last commit always fails with: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libFLAC.so: undefined reference to `log' shouldn't it be AC_CHECK_LIB(FLAC,FLAC__seekable_stream_decoder_process_single, kde_has_flac_lib=yes, ,-lm) (but I'm not an autoconf guru) Sounds like a library problem on your machine. Try "ldd libFLAC.so", it should have a reference to a libm.so library, and it _should_ find this library automatically. nope, even after a clean './configure; make' in my home dir I have flac-1.1.0 $ ldd src/libFLAC/.libs/libFLAC.so.4.1.2 linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0x4004b000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Afetr a bit of investigation: with this patch in flac CVS http://cvs.sourceforge.net/viewcvs.py/flac/flac/src/libFLAC/Makefile.am?r1=1.45&r2=1.46 (which e.g. Debian applies) finally I have: flac-1.1.0 $ ldd src/libFLAC/.libs/libFLAC.so.4.1.2 linux-gate.so.1 => (0xffffe000) libm.so.6 => /lib/libm.so.6 (0x4004b000) libc.so.6 => /lib/libc.so.6 (0x4006c000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) To summarize: The configure check in kdemultimedia will be the right one starting from the next release of flac. |