Macport 2.03 glib2 problem in leopard

Ryan Schmidt ryandesign at macports.org
Fri Nov 25 17:44:51 PST 2011


On Nov 25, 2011, at 16:51, Peter wrote:

>> Build libffi (and all its dependencies) without the universal variant (i.e. "-universal").
> 
> Now it works. thanks. When I build my library,  there is another problem: 
>    ld: library not found or -lX11
> 
> I used -L/usr/X11/lib, and it looks tha libX11.6.dylib and libX11.la in /usr/X11/lib is there, not sure why
> it still have such a complain. 

Is -L/usr/X11/lib in your LDFLAGS?

>  should I use port to install  xorg-libX11 or xorg-server to fix such a problem in leopard?

Yes, I would recommend that instead of using anything from /usr/X11; the stuff in MacPorts is newer and should work better.

\r




More information about the macports-users mailing list