On Mon, Feb 06, 2006 at 11:06:14PM -0800, Nathaniel Gray wrote:
> 
> Here's the compiler error:
> 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/Volumes/ 
> untitled/sw/src/libwmf-0.2.8.2-5/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
> /usr/bin/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)
> 
> Here's something interesting:
> [EMAIL PROTECTED] libwmf-0.2.8.2]$ pwd
> /sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2
> [EMAIL PROTECTED] libwmf-0.2.8.2]$ find . -name libwmflite\*
> ./src/.libs/libwmflite-0.2.7.0.1.dylib
> ./src/.libs/libwmflite-0.2.7.0.1.dylib-master.o
> ./src/.libs/libwmflite-0.2.7.dylib
> ./src/.libs/libwmflite.a
> ./src/.libs/libwmflite.dylib
> ./src/.libs/libwmflite.la
> ./src/.libs/libwmflite.lai
> ./src/libwmflite.la
> 
> I don't know why the linker is so hell-bent on linking to /sw/lib/ 
> libwmflite since the
>       -L/Volumes/untitled/.../libwmf-0.2.8.2/src/.libs/
> flag is present and that's where the library lives.
> 
> Any ideas what I should do?

There's a -L/sw/lib flag before that. Do you have any libwmf* there?
Maybe you have a previous version of the fink libwmf package
installed? This is a fairly common bug, both by upstream authors and
by fink packagers trying to fix other upstream bugs. We don't yet have
a reasonably safe and clean way to test for it automatically:( I just
patched the libwmf package to be better at ignoring whatever libwmf
you may have installed. Once it propagates to your selfupdate server
and you selfupdate, you should be able to build libwmf (assuming the
original diagnosis was correct:) If you just can't wait, try
uninstalling libwmf (okay to leave its -shlibs and -bin component
packages).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to