Re: [Oorexx-devel] Determining the directory of the ooRexx shared library.

2014-03-25 Thread Perry Werneck
Hi, Well, *ixes has rules for file location. Since the rexx.img looks like a data file the best place for it is $datadir not $bindir as used now. Em 25/03/2014 08:19, "Rick McGuire" escreveu: > A question for the *ix experts out there. It would be nice if the loading > of the rexx.img file is n

Re: [Oorexx-devel] Determining the directory of the ooRexx shared library.

2014-03-25 Thread David Ashley
I do not believe that getting that location is possible, but I could be wrong. In any case, for Linux the rexx.img is always loaded from /usr/bin (not /usr/lib or /usr/lib64). It has been done that way from the early IBM version. I think this is because the Linux Standard Base has a clause that sta

[Oorexx-devel] Determining the directory of the ooRexx shared library.

2014-03-25 Thread Rick McGuire
A question for the *ix experts out there. It would be nice if the loading of the rexx.img file is not dependent on the location being on the path, but would rather load from the same directory as the librexx.so file. The Windows code is able to do this, it would be nice if the *ix code could do i

Re: [Oorexx-devel] What could be a reason for a crash in this particular situation ?

2014-03-25 Thread Rony G. Flatscher
On 24.03.2014 22:56, Rick McGuire wrote: > Well, the error clearly indicates a null pointer exception, and going back up > the call stack, it's > clear that this is caused by getenv("PATH") returning a null value for some > reason. Rick, thank you very much, this is very helpful! ---rony > > O