#36 rc=60 rxfuncadd = no regutil

closed
Mark Hessling
None
5
2010-07-09
2010-07-08
D.M.Wooster
No

Installed Regina 3.5 from source on Red Hat Enterprise Linux

./configure --prefix=/u/dowoos/Linux/opt
make
make install
rexx t.rexx

Where t.rexx is:

/* REXX */
say RxFuncAdd('SysLoadFuncs','regutil','SysLoadFuncs')
say SysLoadFuncs()
say RxFuncAdd('sysloadfuncs','regutil','sysloadfuncs')
say sysloadfuncs()
say RxFuncAdd('SYSLOADFUNCS','regutil','SYSLOADFUNCS')
say SYSLOADFUNCS()

say SysFileTree('*','xxx.')
say xxx.0 xxx.1 xxx.2

Output is:

60
sh: SYSLOADFUNCS: command not found

60
sh: SYSLOADFUNCS: command not found

60
sh: SYSLOADFUNCS: command not found

sh: SYSFILETREE: command not found

XXX.0 XXX.1 XXX.2

Configure summary is:

Dynamic Loading Support: supported. Extra components: libregina.so.$(ABI) regina libregutil.so librxtest1.so librxtest2.so
Build options: 64BIT GCI
binaries will be installed in: ${exec_prefix}/bin
libraries will be installed in: ${exec_prefix}/lib64
{prefix}: /u/dowoos/Linux/opt
{exec_prefix}: ${prefix}
RPM topdir: /usr/src/redhat

/u/dowoos/Linux/opt/lib64 is in LD_LIBRARY_PATH

Discussion

  • Mark Hessling
    Mark Hessling
    2010-07-09

    Hi Douglas,

    The rexx binary does not support external functions. Use the regina binary.
    Try:
    say RxFuncAdd('sysloadfuncs','regutil','sysloadfuncs')
    say RxFuncErrMsg()
    with rexx binary

     
  • Mark Hessling
    Mark Hessling
    2010-07-09

    • assigned_to: nobody --> rexx
    • status: open --> closed
     
  • D.M.Wooster
    D.M.Wooster
    2010-07-09

    Hi, Mark,
    Thanks, that fixed Linux. On FreeBSD, however, it just changed the RxFuncAdd() return code to 40 and RxFuncErrMsg() was "static_dlopen() failed loading:regutil" there is a ~/FreeBSD/opt/lib/libregutil.a which is in LIBPATH. I believe this is the 32-bit package you provided for bug 3017361.

     
  • D.M.Wooster
    D.M.Wooster
    2010-07-09

    OK, I switched to the 64-bit package you built for bug 3017361, and the problem is now fixed on FreeBSD, also.

     
  • Tracker.. Great idea :)

     
  • Tracker.. Outstanding :)

     
  • twVGJ7 <a href="http://sswbwqppxszv.com/">sswbwqppxszv</a>, [url=http://ksvomotagyxb.com/]ksvomotagyxb[/url], [link=http://ppxzutpkyzfl.com/]ppxzutpkyzfl[/link], http://pbrsbkanhkpw.com/