#20954: OpenSSL Port fails on Snow Leopard --------------------------------------+------------------------------------- Reporter: thynctank@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: openssl Port: openssl | --------------------------------------+------------------------------------- Comment(by benrasmusen@…): I'm having a similar problem. I've tried all the steps above: {{{ sudo port clean openssl zlib sudo port uninstall zlib sudo port -d install openssl }}} And {{{ sudo port upgrade --force installed }}} And all the migration steps (https://trac.macports.org/wiki/Migration). I'm still getting the following error: {{{ $ sudo port install openssl ---> Computing dependencies for openssl ---> Fetching openssl ---> Verifying checksum(s) for openssl ---> Extracting openssl ---> Applying patches to openssl ---> Configuring openssl ---> Building openssl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-0.9.8j" && /usr/bin/make all " returned error 2 Command output: ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture Undefined symbols: "_inflateEnd", referenced from: _bio_zlib_free in libcrypto.a(c_zlib.o) _zlib_stateful_free_ex_data in libcrypto.a(c_zlib.o) "_deflate", referenced from: _bio_zlib_ctrl in libcrypto.a(c_zlib.o) _bio_zlib_write in libcrypto.a(c_zlib.o) _zlib_stateful_compress_block in libcrypto.a(c_zlib.o) "_deflateEnd", referenced from: _bio_zlib_free in libcrypto.a(c_zlib.o) _zlib_stateful_free_ex_data in libcrypto.a(c_zlib.o) "_inflateInit_", referenced from: _bio_zlib_read in libcrypto.a(c_zlib.o) _zlib_stateful_init in libcrypto.a(c_zlib.o) "_zError", referenced from: _bio_zlib_ctrl in libcrypto.a(c_zlib.o) _bio_zlib_read in libcrypto.a(c_zlib.o) _bio_zlib_write in libcrypto.a(c_zlib.o) "_deflateInit_", referenced from: _bio_zlib_write in libcrypto.a(c_zlib.o) _zlib_stateful_init in libcrypto.a(c_zlib.o) "_inflate", referenced from: _bio_zlib_read in libcrypto.a(c_zlib.o) _zlib_stateful_expand_block in libcrypto.a(c_zlib.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [link_a.darwin] Error 1 make[1]: *** [do_darwin-shared] Error 2 make: *** [libcrypto.0.9.8.dylib] Error 2 Error: Status 1 encountered during processing. }}} Version information: Mac OS 10.6.1 MacPorts 1.8.1 -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS