[Flac-dev] Mac OS X - xmms plugin probs
bhines at alumni.ucsd.edu
Wed Jun 26 01:35:07 PDT 2002
That patch does get the .libs dir added to the compile line. But the
other problem is that libtool is attempting to link against the
installed version of libFLAC, that is $(DESTDIR)/lib/libFLAC.dylib
instead of -lFLAC.
cc -bundle -flat_namespace -undefined suppress -o .libs/libxmms-flac.so
plugin.lo -L/sw/lib /sw/lib/libFLAC.dylib
/sw/lib/libgtk.dylib /sw/lib/libgdk.dylib /sw/lib/libgmodule.dylib
/sw/lib/libglib.dylib -ldl /sw/lib/libintl.dylib -lXext -lX11 -lm
/sw/lib/libxmms.dylib /sw/lib/libogg.dylib -lc -install_name
cc: /sw/lib/libFLAC.dylib: No such file or directory
libtool-disable-static: install: error: relink `libxmms-flac.la' with
the above command before installing it
libtool-disable-static: install: warning: remember to run
`libtool-disable-static --finish /sw/lib/xmms/Input'
Not sure how to fix this one, but this HACK to ltmain.sh fixes this
problem. It just totally disables relinking, and does not seem to have
any ill effects.
--- flac-1.0.2/ltmain.sh Mon Dec 3 23:10:14 2001
+++ flac-1.0.2-patched/ltmain.sh Wed Jun 26 01:06:54 2002
@@ -3948,10 +3952,10 @@
# Directory that this library needs to be installed in:
- if test "$installed" = no && test $need_relink = yes; then
- $echo >> $output "\
+# if test "$installed" = no && test $need_relink = yes; then
+# $echo >> $output "\
Since this works fine for me, i'll add flac-1.0.2 to fink as soon as I
can. I probably should make separate packages for flac with and without
the xmms plugin, since with the xmms plugin flac will have to depend on
xmms which depends on xfree86.
More information about the Flac-dev