[MacPorts] #25595: openssl 1.0.0a: universal build fails on Tiger
MacPorts
noreply at macports.org
Thu Jul 8 19:18:52 PDT 2010
#25595: openssl 1.0.0a: universal build fails on Tiger
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: openssl
-------------------------------------+--------------------------------------
openssl 0.9.8o could build universal on Tiger, but 1.0.0a says:
{{{
:info:build if [ -n "libcrypto.1.0.0.dylib libssl.1.0.0.dylib" ]; then \
:info:build /usr/bin/make -f ../../Makefile.shared -e \
:info:build LIBNAME=gost \
:info:build LIBEXTRAS='e_gost_err.o gost2001_keyx.o gost2001.o
gost89.o gost94_keyx.o gost_ameth.o gost_asn1.o gost_crypt.o gost_ctl.o
gost_eng.o gosthash.o gost_keywrap.o gost_md.o gost_pa
rams.o gost_pmeth.o gost_sign.o' \
:info:build LIBDEPS='-L../.. -lcrypto' \
:info:build link_o.darwin-shared; \
:info:build else \
:info:build ar r ../../libcrypto.a e_gost_err.o gost2001_keyx.o
gost2001.o gost89.o gost94_keyx.o gost_ameth.o gost_asn1.o gost_crypt.o
gost_ctl.o gost_eng.o gosthash.o gost_keywrap.o gost_md.o go
st_params.o gost_pmeth.o gost_sign.o; \
:info:build fi
:info:build ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/mp/lib/libz.1.dylib referenced from:
../../libcrypto.dylib (checking for undefined symbols may be affected) (No
such
file or directory, errno = 2)
:info:build ld: Undefined symbols:
:info:build _deflate referenced from libcrypto.1 expected to be defined in
/mp/lib/libz.1.dylib
:info:build _deflateEnd referenced from libcrypto.1 expected to be defined
in /mp/lib/libz.1.dylib
:info:build _deflateInit_ referenced from libcrypto.1 expected to be
defined in /mp/lib/libz.1.dylib
:info:build _inflate referenced from libcrypto.1 expected to be defined in
/mp/lib/libz.1.dylib
:info:build _inflateEnd referenced from libcrypto.1 expected to be defined
in /mp/lib/libz.1.dylib
:info:build _inflateInit_ referenced from libcrypto.1 expected to be
defined in /mp/lib/libz.1.dylib
:info:build _zError referenced from libcrypto.1 expected to be defined in
/mp/lib/libz.1.dylib
:info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal
link edit command failed
:info:build make[3]: *** [link_o.darwin] Error 1
:info:build make[2]: *** [lib] Error 2
:info:build make[1]: *** [subdirs] Error 1
:info:build make: *** [build_engines] Error 1
}}}
This should be a simple matter of adding "`-lz`" to the LDFLAGS.
--
Ticket URL: <http://trac.macports.org/ticket/25595>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list