Problems building alpine on Mac OS X 10.5.8/PowerPC/Xcode 3.1.4

Ryan Schmidt ryandesign at macports.org
Fri Apr 1 00:39:49 PDT 2011


On Mar 31, 2011, at 23:53, Greg Earle wrote:

> [21:27] macppc:~ % tail -21  /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/main.log
> :info:build /usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE -Dbsd -O2 -arch ppc -arch ppc -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o -Wl,-framework -Wl,CoreFoundation -framework Carbon -framework ApplicationServices -framework Security  -L/usr/lib -lkrb5 -lcom_err -lpam -ldl -L/opt/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /usr/lib/libiconv.dylib -lc -lgssapi_krb5 -lldap -lncurses -llber -lssl -lcrypto
> 
> :info:build Undefined symbols:
> :info:build   "_BIO_method_type", referenced from:
> :info:build       _so_seek in libpith.a(store.o)
> :info:build ld: symbol(s) not found
> :info:build collect2: ld returned 1 exit status
> :info:build make[4]: *** [alpine] Error 1
> :info:build make[3]: *** [all-recursive] Error 1
> :info:build make[2]: *** [all] Error 2
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make: *** [all] Error 2
> :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make all SPECIALS="GSSLIB=/opt/local/lib SSLDIR=/opt/local" " returned error 2
> :error:build Target org.macports.build returned: shell command failed (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>    while executing
> "command_exec build"
>    (procedure "portbuild::build_main" line 8)
>    invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for alpine): org.macports.destroot org.macports.build
> :notice:build Log for alpine is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/main.log
> 
> [21:43] macppc:/opt/local % ls -lt /{usr,opt}/{local,}/lib/libcrypto*
> lrwxr-xr-x  1 root  admin       21 Mar 31 19:42 /opt/local/lib/libcrypto.dylib@ -> libcrypto.1.0.0.dylib
> -r-xr-xr-x  2 root  admin  1577400 Mar 31 19:42 /opt/local/lib/libcrypto.1.0.0.dylib*
> -rw-r--r--  2 root  admin  3054848 Mar 31 19:42 /opt/local/lib/libcrypto.a
> 
> -rwxr-xr-x  1 root  wheel  4606384 Nov 22  2009 /usr/lib/libcrypto.0.9.7.dylib*
> lrwxr-xr-x  1 root  wheel       21 Jul  8  2008 /usr/lib/libcrypto.dylib@ -> libcrypto.0.9.7.dylib
> 
> -rwxr-xr-x  1 root  wheel   806016 Sep 23  2007 /usr/lib/libcrypto.0.9.dylib*
> -rwxr-xr-x  1 root  wheel   223280 Sep 23  2007 /usr/lib/libssl.0.9.dylib*
> 
> Any chance the link is picking up the wrong version of libcrypto?

It certainly looks that way, since -L/usr/lib is appearing before -L/opt/local/lib in the command. Looks like it's also got the wrong libiconv. I'd file a bug report about this in the issue tracker.




More information about the macports-users mailing list