Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 10:30:01 GMT
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186626: net/ss5 can&#39;t be installed under FreeBSD 10
Message-ID:  <201402201030.s1KAU17J079680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/186626; it has been noted by GNATS.

From: Pavel Timofeev <timp87@gmail.com>
To: "bug-followup@FreeBSD.org" <bug-followup@freebsd.org>, raffaele.delorenzo@libero.it
Cc:  
Subject: Re: ports/186626: net/ss5 can&#39;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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402201030.s1KAU17J079680>