Here what I get (10.3.4, package manager version: 0.22.2, distribution version: 0.7.1.rsync, unstable branch enabled):[etc]
[...]
gcc -r -keep_private_externs -nostdlib -o .libs/io-wmf.so-master.o io-wmf.lo && gcc -bundle -o .libs/io-wmf.so .libs/io-wmf.so-master.o -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -L/sw/src/libwmf-0.2.8.2-4/libwmf-0.2.8.2/src/.libs -lwmflite -L./.libs -lwmf -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lc
ld: warning -prebind has no effect with -bundle
ld: warning can't open dynamic library: /sw/lib/libwmflite-0.2.7.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: Undefined symbols:
_wmf_attr_add referenced from libwmf-0 expected to be defined in /sw/lib/libwmflite-0.2.7.dylib
_wmf_attr_free referenced from libwmf-0 expected to be defined in /sw/lib/libwmflite-0.2.7.dylib
Failed: compiling libwmf-0.2.8.2-4 failed
There doesn't seem to have been any followup on this, so I'll just report my experience for the record. I have now been getting the same error. In order to build libwmf, I found two possibilities:
- Either I copied by hand the libwmflite* stuff from the build directory /sw/src/libwmf-0.2.8.2-4/libwmf-0.2.8.2/src/.libs to /sw/lib and then restarted "fink install libwmf". This worked.
- or I moved /usr/local out of the way. This worked also. The only difference in the build log (apart from the absence of the error messages) was that the -L/usr/local/lib flag disappeared from the command line.
Although this worked, I don't really understand why either of these could fix the problem: The -L/sw/src/libwmf-0.2.8.2-4/libwmf-0.2.8.2/src/.libs flag is there on the command line, so ld has no real excuse for not finding libwmflite-0.2.7.dylib, and on the other hand, -L/usr/local/lib has no visible effect; it does not pull in any of the libraries from /usr/local/lib, AFAICT.
I should add that on this machine which is not under my exclusive control, /usr/local was populated by some Wierda iinstaller aficionados who even installed libwmf. Sebastien, did you also have /usr/local/lib/libwmf* things installed?
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users