[MacPorts] #20677: openssl 0.9.8k does not compile on 10.6 10A432 because of incompatible zlib @1.2.3_2

MacPorts noreply at macports.org
Fri Aug 14 06:52:56 PDT 2009


#20677: openssl 0.9.8k does not compile on 10.6 10A432 because of incompatible zlib
@1.2.3_2
--------------------------------------------------+-------------------------
 Reporter:  hukl@…                                |       Owner:  macports-tickets@…                   
     Type:  defect                                |      Status:  new                                  
 Priority:  Normal                                |   Milestone:                                       
Component:  ports                                 |     Version:  1.7.1                                
 Keywords:  openssl zlib 10.6 64bit architecture  |        Port:  openssl                              
--------------------------------------------------+-------------------------
 I just clean installed 10.6 and macports. After selfupdating macports I
 tried to install openssl

 {{{sudo port install openssl}}}

 It failed to compile it saying that zlib is not of required architecture
 and fails on undefined symbols.

 {{{
 file /opt/local/lib/libz.dylib
 /opt/local/lib/libz.dylib: Mach-O 64-bit dynamically linked shared library
 x86_64
 }}}

 {{{
 --->  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.8k"
 && 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_write in libcrypto.a(c_zlib.o)
       _bio_zlib_ctrl 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_write in libcrypto.a(c_zlib.o)
       _bio_zlib_read in libcrypto.a(c_zlib.o)
       _bio_zlib_ctrl 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.
 $

 }}}

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


More information about the macports-tickets mailing list