Error building with ldtl own
Alan DeKok
aland at deployingradius.com
Sun Dec 20 06:53:24 CET 2009
Коньков Евгений wrote:
> rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
> cc .libs/radiusdS.o -pthread -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic -L/usr/local/lib /usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src/lib/.libs/libfreeradius-radius.so -lcrypt /usr/local/lib/libltdl.so -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib/freeradius-2.1.7 -Wl,--rpath -Wl,/usr/local/lib
> .libs/modules.o(.text+0x16e7): In function `setup_modules':
> : undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
The version of libtool on your system is buggy.
The solution is to edit the "Make.inc" file in FreeRADIUS, and change
the line defining CFLAGS. Add the following to the end of the line:
-DIE_LIBTOOL_DIE
That should work around the problem.
Alan DeKok.
More information about the Freeradius-Users
mailing list