Building 3.0.9 package
Alex Sharaz
alex.sharaz at york.ac.uk
Thu Jul 23 15:49:01 CEST 2015
Hi,
Just tried building a package of 3.0.9 on Ununtu 14.04 ... sort of worked.
Looked at the freeradius wiki and did
tar zxf freeradius-server-3.0.9.tar.gz
cd freeradius-server-3.0.9
dpkg-buildpackage -b -uc
#
# Did a whole batch of apt-get install <package names here till dpkg-buildpackage worked
#
dpkg -i ../*freeradius*_3.0.9*.deb
At this point, amongst other things I get :-
Unpacking freeradius-dhcp (3.0.9+git) ...
dpkg: error processing archive ../freeradius-dhcp_3.0.9+git_amd64.deb (--install):
trying to overwrite '/usr/lib/freeradius/proto_dhcp.so', which is also in package freeradius 3.0.9+git
.....
Setting up libfreeradius-dev (3.0.9+git) ...
Setting up freeradius (3.0.9+git) ...
* Checking FreeRADIUS daemon configuration... [fail]
invoke-rc.d: initscript freeradius, action "restart" failed.
Setting up freeradius-utils (3.0.9+git) ...
Processing triggers for ureadahead (0.100.0-16) ...
Lots more fail messages. all relating to the one above I guess.
Looking radius.log I get
Thu Jul 23 14:04:34 2015 : Info: Debugger not attached
Thu Jul 23 14:04:34 2015 : Error: /etc/freeradius/mods-enabled/dhcp[18]: Failed to link to module 'rlm_dhcp': /usr/lib/freeradius/rlm_dhcp.so: cannot open shared object file: No such file or directory
.. which is right, there isn't an rlm_dhcp.so present in /usr/lib/freeradius
If I go into /etc/freeradius/mods-enabled and remove the dhcp symbolic link then I can start freeradius.
Can't seem to find why the rlm_dhcp module wasn't build though ...not that I need it, but that's not the point.
Anyone built 3.0.9 package on Ubuntu 14.04?
Rgds
A
More information about the Freeradius-Users
mailing list