cyrus-sasl2 universal on 10.6

Ryan Schmidt ryandesign at
Tue Mar 9 20:10:12 PST 2010

On Mar 9, 2010, at 17:41, Payam Minoofar wrote:

> The x64 branch builds, but the i386 portion fails with this message:
> /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2  -Wall -W -O2 -arch i386  -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o saslpasswd2  saslpasswd.o ../sasldb/ ../lib/   -lresolv -lresolv  
> /usr/bin/gcc-4.2 -Wall -W -O2 -arch i386 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o .libs/dbconverter-2 dbconverter-2.o ../sasldb/.libs/ -lresolv -lresolv -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lresolv -lresolv
> ld: warning: in /opt/local/lib/libsasl2.dylib, file is not of required architecture

Deactivate your presently-installed cyrus-sasl2 before attempting to build it universal.

sudo port deactivate cyrus-sasl2
sudo port clean cyrus-sasl2
sudo port install cyrus-sasl2 +universal

This is

More information about the macports-users mailing list