[MacPorts] #20954: OpenSSL Port fails on Snow Leopard
#20954: OpenSSL Port fails on Snow Leopard -------------------------------------+-------------------------------------- Reporter: thynctank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snow leopard, openssl, | Port: openssl -------------------------------------+-------------------------------------- I get "warning: in /opt/local/lib/libz.dylib, file is not of required architecture" and numerous "undefined symbols". This is a hold up to installing mysql and other ports. I get similar problems with many other dylibs when trying to run "upgrade outdated" Happy to provide further information, given instructions. Not a ports expert. -- Ticket URL: <http://trac.macports.org/ticket/20954> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20954: OpenSSL Port fails on Snow Leopard -------------------------------------+-------------------------------------- Reporter: thynctank@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: openssl | Port: openssl -------------------------------------+-------------------------------------- Changes (by snc@…): * keywords: snow leopard, openssl, => openssl * owner: macports-tickets@… => mww@… Comment: Please do this and attach the output: {{{ sudo port clean openssl zlib sudo port uninstall zlib sudo port -d install openssl }}} -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20954: OpenSSL Port fails on Snow Leopard -------------------------------------+-------------------------------------- Reporter: thynctank@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: openssl | Port: openssl -------------------------------------+-------------------------------------- Comment(by snc@…): Incidentally, are these ports from when you had Leopard? If so, you should try using this command for rebuilding all your ports: `sudo port upgrade --force installed` -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20954: OpenSSL Port fails on Snow Leopard -------------------------------------+-------------------------------------- Reporter: thynctank@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: openssl | Port: openssl -------------------------------------+-------------------------------------- Comment(by thynctank@…): Haven't had a chance to try any of this, but it is indeed from an original Leopard install. I installed the latest .dmg for Snow Leopard but have had trouble updating a number of ports. Will try these when I get home today. Thanks for the quick response. -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | --------------------------------------+------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => invalid Comment: No bug here. See [wiki:Migration] -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 blb@…): Replying to [comment:5 benrasmusen@…]:
Command output: ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture
That means you didn't fully follow the [wiki:Migration Migration page] which says to do a full reinstall (it used to have a method for trying to do the upgrade in a more automated fashion, but as you see, doesn't work). -- Ticket URL: <http://trac.macports.org/ticket/20954#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts