broken --prefix=/

Frank Cusack fcusack at fcusack.com
Wed Aug 16 04:16:31 CEST 2006


On August 15, 2006 7:12:39 PM +0300 Peter Nixon <listuser at peternixon.net> wrote:
> On Thu 10 Aug 2006 23:19, Frank Cusack wrote:
>> On August 10, 2006 1:51:56 PM +0300 Peter Nixon <listuser at peternixon.net>
> wrote:
>> > Hi Guys
>> >
>> > Does anyone know why "--prefix=/" not longer works as expected when fed
>> > to configure in the 1.1.x cvs branch?
>>
>> Shouldn't that be --prefix=/usr ?  Maybe '/' is discarded as an invalid
>> prefix.
>
> OK. After some more testing it is not --prefix which is broken. It works as
> expected. However it is now required to pass "--with-raddbdir=/etc/raddb"
> which was not necessary previously to get things to go in the expected place.

Is that acceptable?

> There does appear to be something still a bit broken on 64bit though. I am
> using "--libdir=%{_libdir}/freeradius" which as expected builds and installs
> into /usr/lib64/freeradius/ on 64bit platforms and /usr/lib/freeradius/ on
> 32bit platforms. However when running radiusd -X on a 64bit install the
> following happens:
>
> Module: Library search path is /usr/lib/freeradius
> radiusd.conf[1538] Failed to link to module 'rlm_exec': rlm_exec.so: cannot
> open shared object file: No such file or directory

Can you verify this with a "manual" build instead of rpm?  It works correctly
here.  I hate to ask, but are you sure you are running the radiusd you just
built and installed?  If all that checks out, it would be interesting to
see one of the installed .la files.

-frank



More information about the Freeradius-Devel mailing list