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


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to