Can not 'make' FreeRadius from ports manually

Коньков Евгений kes-kes at yandex.ru
Mon Jan 11 20:48:34 CET 2010


Здравствуйте, Gabriel.

Вы писали 11 января 2010 г., 21:35:49:

GB> 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
>> 

GB> the error is rather self-explainatory...

GB> you don't have the gbdm library

GB> http://www.gnu.org/software/gdbm/

I have. Running building from port works fine
#cd /usr/ports/net/freeraiudius2
#make

But running 'gmake' from work/freeradius-server-2.1.8 does not find gbdm




-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru




More information about the Freeradius-Users mailing list