Cedric Lor wrote:
I've been trying to compile stunner (4.47) on a power pc Mac OS X Leopard (OS X 10.5) platform after a manual update to openssl v. 1.0.0.e
[cut]
libtool: link: gcc -pthread -fstack-protector -g -O2 -Wall -Wextra - Wno-long-long -pedantic -o stunnel stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o -L/usr/local/ssl/lib64 -L/usr/local/ssl/lib -lssl -lcrypto -lz -ldl -lutil -lpthread -lwrap -pthread Undefined symbols: "_EC_KEY_new_by_curve_name", referenced from: _context_init in stunnel-ctx.o
There is something wrong with your manual installation of OpenSSL 1.0.0e on your machine. The linker finds your old library instead of the new one. Make sure the library files are properly installed in / usr/local/ssl/lib. You could also rename the old library files for the time of building stunnel.
Mike