#94 Unable to load library: /usr/lib/librxmath.so

v3.0
closed
Mark Hessling
5
2012-08-14
2005-09-12
Anonymous
No

Installed from source:
589192 Sep 2 19:21 oRexx-3.0.0-i686-pc-linux-gnu.tar.gz
on Fedora Core 4.
Executed this script:
/ /
Parse Arg Stuff
Call RxFuncAdd "MathLoadFuncs","rxmath","MathLoadFuncs"
Call MathLoadFuncs
Say RxCalcSinH(20)

Got this message:
$ Para_Length
E Unable to load library: /usr/lib/librxmath.so !
Error message: /usr/lib/librxmath.so: cannot open
shared object file: No such file or directory
6 - Call MathLoadFuncs
REX0043E: Error 43 running
/home/wre00/Parabola/Para_Length line 6: Routine not found
REX0417E: Error 43.1: Could not find routine
"MATHLOADFUNCS"

librxmath.so was installed in '/usr/local/lib/ooRexx'

Rexx runs OK else wise.

Discussion

  • Mark Hessling
    Mark Hessling
    2005-09-12

    Logged In: YES
    user_id=86185

    You need to set LD_LIBRARY_PATH to include /usr/local/lib.
    This is explained in the file INSTALL
    As an example:
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    This is not a bug.

     
  • Mark Hessling
    Mark Hessling
    2005-09-13

    Logged In: YES
    user_id=86185

    The explanation is slightly incorrect; the directory should
    be /usr/local/lib/ooRexx
    Well it wouldn't be a bug, if the code did what it was
    supposed to :-(
    All external function packages currently are required to be
    in /usr/lib
    This has now been fixed so that LD_LIBRARY_PATH is actually
    used.
    Changes currently available via CVS

     


Anonymous


Cancel   Add attachments