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" <object.rexx@gmail.com> escreveu:
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 it too.  I've yet to hit on google search terms that gives me a solution for this.  So, is it possible for a shared library to get the file location for its code so it can load resources from the same directory?


Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
Oorexx-devel mailing list