On 3/23/12 5:49 PM, Maxime Bourassa wrote:
> Hello,
>
> I'm getting the following error when I issue this command:
>
> fink install libdjvulibre21-shlibs
>
>
> [...]
> /bin/sh ../../libtool --tag=disable-static --mode=link gcc -DHAVE_CONFIG_H  
> -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res 
> -I../../gui/npsdk  -I/usr/X11/include -I/sw/include -I/usr/X11R6/include 
> -I/sw/include  nsdejavu.lo -L/sw/lib -L/sw/lib -no-undefined -L/usr/X11/lib 
> -lSM -lICE -lXt -lXext -lX11 -lglib-2.0 \
>         -rpath /sw/lib/netscape/plugins -module -o nsdejavu.la
> libtool: link: gcc  -o .libs/nsdejavu.0.so -bundle  .libs/nsdejavu.o   
> -L/sw/lib -L/usr/X11/lib -lSM -lICE -lXt -lXext -lX11 -lglib-2.0
> ld: library not found for -lglib-2.0
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [nsdejavu.la] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> ### execution of /tmp/fink.BwDJm failed, exit code 2
> [...]
>
>
> I'm using OS X 10.7.3 with the current Xcode - gcc version 4.2.1 (Based on 
> Apple Inc. build 5658) (LLVM build 2336.9.00)

Actually, no.  On Lion fink uses clang to build everything by 
default--"gcc" means clang unless a package is set otherwise.
> fink --version:
> Package manager version: 0.32.3
> Distribution version: selfupdate-rsync Fri Mar 23 20:29:30 2012, 10.7, x86_64
> Trees: local/main stable/main
>
> Cheers!
>
> Maxime
>
>
The package appears to be missing a BuildDepends: glib2-dev.  Does 
installing glib2-dev allow you to build it?

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to