Can not 'make' FreeRadius from ports manually
Gabriel Blanchard
gabe at teksavvy.ca
Mon Jan 11 20:35:49 CET 2010
On 2010-01-11, at 2:33 PM, Коньков Евгений wrote:
> Здравствуйте, Коньков.
>
> gmake work fine. thanks
>
> But there are some errors:
>
> libtool: compile: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src -c rlm_counter.c -o rlm_counter.o >/dev/null 2>&1
> /usr/local/bin/libtool --mode=link cc -release 2.1.8 \
> -module -export-dynamic -rpath=/usr/lib:/usr/local/lib -o rlm_counter.la \
> -rpath /usr/local/lib/freeradius-2.1.8 rlm_counter.lo rlm_counter.c /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lgdbm
> libtool: link: cc -shared .libs/rlm_counter.o -Wl,-rpath -Wl,/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs -Wl,-rpath -Wl,/usr/local/lib/freeradius-2.1.8 /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lgdbm -Wl,-soname -Wl,rlm_counter-2.1.8.so -o .libs/rlm_counter-2.1.8.so
> /usr/bin/ld: cannot find -lgdbm
>
the error is rather self-explainatory...
you don't have the gbdm library
http://www.gnu.org/software/gdbm/
Gabe
More information about the Freeradius-Users
mailing list