ports/186626: net/ss5 can't be installed under FreeBSD 10

Pavel Timofeev timp87 at gmail.com
Thu Feb 20 10:30:01 UTC 2014


The following reply was made to PR ports/186626; it has been noted by GNATS.

From: Pavel Timofeev <timp87 at gmail.com>
To: "bug-followup at FreeBSD.org" <bug-followup at freebsd.org>, raffaele.delorenzo at libero.it
Cc:  
Subject: Re: ports/186626: net/ss5 can't be installed under FreeBSD 10
Date: Thu, 20 Feb 2014 14:27:13 +0400

 Hmm, I managed to build it.
 I installed lang/gcc46. Then made symlink
 # ln -s /usr/local/bin/gcc46 /usr/local/bin/gcc
 Added USE_GCC=any to /usr/ports/net/ss5/Makefile.
 After, I tried to build ss5 and got such message:
 .....
 gcc -O2 -pipe -DLDAP_DEPRECATED -Wl,-rpath=/usr/local/lib/gcc46
 -DLDAP_DEPRECATED -fno-strict-aliasing -DFREEBSD -pthread
 -export-dynamic -I/usr/local/include -I . -I ../include -c SS5Srv.c
 --- ss5 ---
 gcc -O2 -pipe -DLDAP_DEPRECATED -Wl,-rpath=/usr/local/lib/gcc46
 -DLDAP_DEPRECATED -fno-strict-aliasing -DFREEBSD -pthread
 -export-dynamic -I/usr/local/include -I . -I ../include -o ss5
 SS5Main.o            S
 S5Core.o                SS5Server.o             SS5Utils.o
  SS5Thread.o             SS5Debug.o             SS5GSSApi.o
  SS5Modules.o ../common/SS5OpenLdap.o ../common/SS5Radius.o ../co
 mmon/SS5MySql.o -lpthread -lpam -lldap -lc -L /usr/local/lib
 /usr/local/bin/ld: ../common/SS5Radius.o: undefined reference to
 symbol 'MD5_Final'
 //lib/libcrypto.so.7: error adding symbols: DSO missing from command line
 collect2: ld returned 1 exit status
 *** [ss5] Error code 1
 
 make[2]: stopped in /usr/ports/net/ss5/work/ss5-3.8.5/src
 1 error
 
 make[2]: stopped in /usr/ports/net/ss5/work/ss5-3.8.5/src
 .....
 
 I googled it and found this unresolved closed ticket
 http://sourceforge.net/p/ss5/support-requests/32/
 So I set EXTRA_LIBS to '-lcrypto' and managed to build ss5! It builds,
 installs and works now.
 
 2014-02-20 14:03 GMT+04:00 Pavel Timofeev <timp87 at gmail.com>:
 > So, what is the decision?
 > Is there any way to build it by clang? Can gcc46 build it, for
 > example? It such way this port has to have USE_GCC=any flag. (I tried,
 > but no luck.)
 >
 > Maybe it has to be marked as BROKEN under FreeBSD 10.


More information about the freebsd-ports-bugs mailing list