On 3/7/06, Chris 'Xenon' Hanson <[EMAIL PROTECTED]> wrote:
>    I'm working on getting the Sangoma WANPIPE driver working under OpenBSD 
> 3.8 (mostly
> working) and ran into a couple of little problems that I'm trying to find the 
> "right" way
> to solve.
>
>    The preferred setup is to run their "wanrouter" bash script in the 
> rc.securelevel
> script, to load the driver module before securelevel is raised to where 
> module loading is
> no longer permitted.
>
>    So, the wanrouter script requires bash, which in turn requires libiconv 
> and libintl.
> Libiconv and libintl normally install into /usr/local/lib, where bash finds 
> them just fine
> once the system is fully booted. But, it seems that running the wanrouter 
> bash script from
> rc.securelevel fails because at that point bash can't find libiconv and 
> libintl. I presume
> that /usr/local/lib is not in the lib search path at that point.
Pardon me for giving what may be a naive answer, but how about putting
/usr/local/lib into the LD_LIBRARY_PATH env variable before starting
the wanrouter script?

Reply via email to