After upgrading from FreeBSD 8.1-RELEASE to FreeBSD 9.1-RELEASE (i386) through "freebsd-update", I am unable to (re-) compile a recent OpenSSL from ports. It looks like the shared libraries are compiled OK, but when in the apps-subdir the "openssl" binary is to be compiled, things end like this:
Looks like a semaphore-thing to me, but I'm not much of a programmer to have a clue...
FYI make config was run with the default values.
Formerly installed port-package "openssl-1.0.1_4" was running OK.
Anyone else any clues?
Code:
rm -f openssl
shlib_target=; if [ -n "libcrypto.so.8 libssl.so.8" ]; then shlib_target="bsd-shared"; elif [ -n "" ]; then FIPSLD_CC="cc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; export CC FIPSLD_CC; fi; LIBRARIES="-L.. -lssl -L.. -lcrypto" ; make -f ../Makefile.shared -e APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o srp.o" LIBDEPS=" $LIBRARIES -L/usr/local/lib" link_app.${shlib_target}
[B]../libcrypto.so: undefined reference to `_sem_timedwait'
../libcrypto.so: undefined reference to `_sem_getvalue'
../libcrypto.so: undefined reference to `_sem_destroy'
../libcrypto.so: undefined reference to `_sem_wait'
../libcrypto.so: undefined reference to `_sem_init'
../libcrypto.so: undefined reference to `_sem_post'
../libcrypto.so: undefined reference to `_sem_trywait'[/B]
*** [link_app.bsd] Error code 1
Stop in /usr/ports/security/openssl/work/openssl-1.0.1e/apps.
*** [openssl] Error code 1
Stop in /usr/ports/security/openssl/work/openssl-1.0.1e/apps.
*** [build_apps] Error code 1
Stop in /usr/ports/security/openssl/work/openssl-1.0.1e.
*** [do-build] Error code 1
Stop in /usr/ports/security/openssl.
Looks like a semaphore-thing to me, but I'm not much of a programmer to have a clue...
FYI make config was run with the default values.
Formerly installed port-package "openssl-1.0.1_4" was running OK.
Anyone else any clues?