1.8.1beta - build_arch x86_64

Scot Ballard scotpb at gmail.com
Mon Aug 10 17:38:51 PDT 2009


I am kicking the tires on macports beta 1.8.1b.  I changed the build_arch
var to x86_64 in hopes i could build x86_64 binaries for my XEON system.

It seems like opessl is not building in the new architecture but dovecot is.
The build will stop when dovecot doesnt' have its required openssl library
in the same build_arch.

I do the following in this order.
1. fresh install the dmg for leopard 1.8.1b
2. change build_arch in /opt/local/etc/macports/macports.conf
3. 'port -d install dovecot'

libtool: link: /usr/bin/gcc-4.0 -std=gnu99 -O2 -arch x86_64 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-I/opt/local/include -o ssl-build-param ssl-init-main.o ssl-init-openssl.o
ssl-init-gnutls.o  -L/opt/local/lib ../lib/liblib.a -lssl -lcrypto -lz
ld: warning in /opt/local/lib/libssl.dylib, file is not of required
architecture
ld: warning in /opt/local/lib/libcrypto.dylib, file is not of required
architecture
Undefined symbols:
  "_ERR_error_string_n", referenced from:
      _ssl_last_error in ssl-init-openssl.o
  "_i2d_DHparams", referenced from:
      _ssl_generate_parameters in ssl-init-openssl.o
      _ssl_generate_parameters in ssl-init-openssl.o
  "_ERR_get_error", referenced from:
      _ssl_last_error in ssl-init-openssl.o
  "_DH_generate_parameters", referenced from:
      _ssl_generate_parameters in ssl-init-openssl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [ssl-build-param] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/mail-process.Tpo .deps/mail-process.Po
mv -f .deps/master-settings.Tpo .deps/master-settings.Po
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



Any pointers would be appreciated.
The full output from a 'port -d install' should be attached.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090810/0bef101c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macports_1.8.txt.gz
Type: application/x-gzip
Size: 99690 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090810/0bef101c/attachment.bin>


More information about the macports-users mailing list