Hello,
I compiled FR from today's CVS on a RedHat Linux 7.2 system with
gcc 3.1:
CFLAGS="-static -march=athlon -mcpu=athlon -funroll-loops
-fomit-frame-pointer" \
CXXFLAGS="-static -march=athlon -mcpu=athlon -funroll-loops
-fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtt
i" \
./configure \
--prefix=/gis/radius_test \
--with-mysql-dir=/gis/mysql \
--with-mysql-include-dir=/gis/mysql/include \
--with-mysql-lib-dir=/gis/mysql/lib/mysql \
--without-ascend-binary \
--without-snmp \
--with-thread-pool \
--mandir=/usr/man \
--with-raddbdir=/gis/radius_test/raddb
I precompiled without errors but when I started the server I got:
main: debug_level = 0
read_config_files: entering modules setup
Module: Library search path is /gis/radius_test/lib
radiusd.conf[463] Failed to link to module 'rlm_preprocess': file not
found
# ls /gis/radius_test/lib/rlm_preprocess* -1
/gis/radius_test/lib/rlm_preprocess-0.7-pre.la
/gis/radius_test/lib/rlm_preprocess.a
/gis/radius_test/lib/rlm_preprocess.la
When I compiled without setting CFLAGS and CXXFLAGS, I got:
# /gis/radius_test/sbin/radiusd -X
/gis/radius_test/sbin/radiusd: error while loading shared libraries:
libradius-0.7-pre.so: cannot open shared object file: No such file or
directory
there is no libradius* file in my lib/ directory.
How can I use radius with static binaries (does it help to achieve
better performance as with e.g. mysql?), and how can start the new
version?
Thanks in advance,
Thomas
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html