cyrus-sasl2 universal on 10.6

Payam Minoofar payam.minoofar at meissner.com
Tue Mar 9 15:41:50 PST 2010


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/libsasldb.la ../lib/libsasl2.la   -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/libsasldb.al -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
Undefined symbols:
  "_sasl_global_utils", referenced from:
      _sasl_global_utils$non_lazy_ptr in dbconverter-2.o
  "_sasl_dispose", referenced from:
      _main in dbconverter-2.o
  "_sasl_done", referenced from:
      _main in dbconverter-2.o
  "_sasl_server_init", referenced from:
      _main in dbconverter-2.o
  "_sasl_server_new", referenced from:
      _main in dbconverter-2.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [dbconverter-2] Error 1
make[2]: *** Waiting for unfinished jobs....
/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/saslpasswd2 saslpasswd.o ../sasldb/.libs/libsasldb.al -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
Undefined symbols:
  "_prop_set", referenced from:
      _main in saslpasswd.o
      _main in saslpasswd.o
      _main in saslpasswd.o
  "_prop_dispose", referenced from:
      _main in saslpasswd.o
  "_sasl_errstring", referenced from:
      _exit_sasl in saslpasswd.o
  "_prop_request", referenced from:
      _main in saslpasswd.o
  "_sasl_dispose", referenced from:
      _main in saslpasswd.o
  "_sasl_done", referenced from:
      _main in saslpasswd.o
  "_sasl_server_init", referenced from:
      _main in saslpasswd.o
  "_prop_new", referenced from:
      _main in saslpasswd.o
  "_sasl_setpass", referenced from:
      _main in saslpasswd.o
  "_sasl_auxprop_store", referenced from:
      _main in saslpasswd.o
  "_sasl_server_new", referenced from:
      _main in saslpasswd.o
  "_sasl_version", referenced from:
      _main in saslpasswd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [saslpasswd2] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23-i386" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23-i386" && /usr/bin/make -j2 all " returned error 2
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for cyrus-sasl2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>



More information about the macports-users mailing list