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
On 23-07-15 15:49, Alex Sharaz wrote:
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
Sounds like the same problem that is solved in https://github.com/FreeRADIUS/freeradius-server/pull/1134 Shortcut in case you don't need the DHCP functionality: don't install the DHCP package and all is fine. -- Herwin Weststrate
On 23 Jul 2015, at 14:59, Herwin Weststrate wrote:
On 23-07-15 15:49, Alex Sharaz wrote:
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
Sounds like the same problem that is solved in https://github.com/FreeRADIUS/freeradius-server/pull/1134
Shortcut in case you don't need the DHCP functionality: don't install the DHCP package and all is fine.
Yup that's what I did, just removed the symbolic link to dhcp in /etc/freeradius/mods-enabled A
-- Herwin Weststrate - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alex Sharaz -
Herwin Weststrate