Ticket #321 (new defect)

Opened 1 year ago

Last modified 1 year ago

/usr/lib/freeradius -> LD_LIBRARY_PATH

Reported by: th Assigned to: tha
Priority: fixed in svn Milestone: 1.0.x
Component: packages Version: 1.0
Keywords: freeradius eap DT_RPATH DT_NEEDED patch Cc:

Description (Last modified by tg)

15:13:22 < th> Error: radiusd.conf[77] Failed to link to module 'rlm_eap': File not found

15:17:07 < mira|work> mach mal objdump -p libeap-1.1.2.so | fgrep NEED

15:20:22 < th> NEEDED libeap-1.1.2.so

15:21:35 < th> /usr/lib/freeradius ist nicht im suchpfad 15:21:45 < th> wenn ich es (die libeap.so) mal nach /usr/lib symlinke gehts

15:22:39 < th> env LD_LIBRARY_PATH=/usr/lib/freeradius hilft

Attachments

Change History

06/08/07 15:28:11 changed by tg

  • keywords changed from freeradius eap to freeradius eap DT_RPATH DT_NEEDED.
  • owner changed from somebody to tg.
  • status changed from new to assigned.
  • description changed.
  • milestone changed from 1.x (low prio) to 1.0.

ich gucks mir mal an

evtl ssl auch

06/08/07 15:29:43 changed by th

nein - kein problem bzgl. ssl lib.

06/14/07 09:48:11 changed by tg

  • keywords changed from freeradius eap DT_RPATH DT_NEEDED to freeradius eap DT_RPATH DT_NEEDED patch.

Could you please try if the following patch solves your problem?

Index: files/radiusd.init
===================================================================
--- files/radiusd.init  (revision 2785)
+++ files/radiusd.init  (working copy)
@@ -9,7 +9,7 @@
        ;;
 start)
        [ -d /var/log/radius ] || mkdir -p /var/log/radius
-       radiusd
+       LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}/usr/lib/freeradius radiusd
        ;;
 stop)
        killall radiusd
Index: Makefile
===================================================================
--- Makefile    (revision 2785)
+++ Makefile    (working copy)
@@ -8,7 +8,7 @@
 
 PKG_NAME:=             freeradius
 PKG_VERSION:=          1.1.2
-PKG_RELEASE:=          2
+PKG_RELEASE:=          3
 PKG_MD5SUM:=           6649ac5f9666b4a8cd55a837068ca61e
 PKG_INIT:=             75
 

06/15/07 00:42:42 changed by tha

  • priority changed from major to minor.

I don't need the patch to have freeradius (with eap) running. Maybe I missed something in the config that triggers this bug?

@th: how does your freeradius/eap config look like?

06/26/07 21:24:13 changed by tha

  • owner changed from tg to tha.
  • priority changed from minor to fixed in svn.
  • status changed from assigned to new.
  • milestone changed from 1.0 to 1.0.x.

fixed for freewrt 1.0 in svn revision 2951. This change will be released with the upcoming version 1.0.4.

07/08/07 19:13:01 changed by anonymous

  • cc set to <Default>.
  • priority changed from fixed in svn to minor.
  • type changed from defect to task.
  • component changed from packages to brcm-2.6.
  • milestone changed from 1.0.x to post-2.0.

08/02/07 13:34:45 changed by tg

  • cc deleted.
  • priority changed from minor to fixed in svn.
  • type changed from task to defect.
  • component changed from brcm-2.6 to packages.
  • milestone changed from post-2.0 to 1.0.x.

Add/Change #321 (/usr/lib/freeradius -> LD_LIBRARY_PATH)