Opened 15 years ago

Closed 15 years ago

#20677 closed defect (invalid)

openssl 0.9.8k does not compile on 10.6 10A432 because of incompatible zlib @1.2.3_2

Reported by: hukl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: openssl zlib 10.6 64bit architecture Cc:
Port: openssl

Description

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.
$ 

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Attach full debug output please. Also, what is build_arch set to?

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Reporter confirmed on IRC that they really were using 1.7.1...

Note: See TracTickets for help on using tickets.