[MacPorts] #17357: cyrus-sasl2 needs a change in order to build the universal variant

MacPorts noreply at macports.org
Sun Dec 13 20:34:44 PST 2009


#17357: cyrus-sasl2 needs a change in order to build the universal variant
---------------------------+------------------------------------------------
 Reporter:  10.50@…        |       Owner:  jmpp@…           
     Type:  defect         |      Status:  new              
 Priority:  Normal         |   Milestone:                   
Component:  ports          |     Version:  1.6.0            
 Keywords:  universal      |        Port:  cyrus-sasl2      
---------------------------+------------------------------------------------

Comment(by jeremyhu@…):

 A side issue of this is that it looks like it prefers the installed lib
 over the built one when linking... /sigh

 {{{
 /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 was built for
 unsupported file format which is not the architecture being linked (i386)
 Undefined symbols:
   "_sasl_global_utils", referenced from:
       _sasl_global_utils$non_lazy_ptr in dbconverter-2.o
      (maybe you meant: _sasl_global_utils$non_lazy_ptr)
   "_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[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2


 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17357#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list