On 6 Dec 2012, at 19:48, Matthew Newton <mcn4@LEICESTER.AC.UK> wrote:
Hi,
On Thu, Dec 06, 2012 at 05:27:04PM +0000, Arran Cudbard-Bell wrote:
On 6 Dec 2012, at 12:55, Alan Buxey <A.L.M.Buxey@LBORO.AC.UK> wrote:
# radiusd -fxx -l stdout radiusd: error while loading shared libraries: build/lib/.libs/rlm_acctlog.so: cannot open shared object file: No such file or directory
Could you try editing this file: https://github.com/FreeRADIUS/freeradius-server/blob/master/src/main/radiusd...
And removing "$(filter rlm_%,${ALL_TGTS})"
That's great - it fixes the issue on Debian for installed files.
However, to run it from the build/bin/ directory you still have to do
$ LD_LIBRARY_PATH=build/lib/.libs/ build/bin/radiusd -X
as libfreeradius-radius.so and libfreeradius-eap.so are not found.
Not sure if that's fixable? Obviously when installed they will be in a known location, but not when in the build dir.
Having written that, I've just noticed you can do
$ build/bin/local/radiusd -X
which *does* work fine - maybe that's the solution for now?
Sorry, teaches me not to read to the end of emails. Yes that's by design, and that's the one you should be running if you don't want to install. -Arran