Hello Erics, hello all,

I just tracked down the binfilter breakage problem on MacOSX.
The call that caused the problem was the MacOS system call NSAddImage(...) called from sal/osl/unx/module.c. After writing a simple test app I found out that the real problem is the DYLD_LIBRARY_PATH environment variable (which NSAddImage uses to look for the library to be loaded).
I still have no clue why the first library was already registered succesfully before but anyway, here's what you should do before building binfilter:
Since the sourcing of MacosxEnv.Set(.sh) discards the previously set $DYLD_LIBRARY_PATH and regcomp is called from the directory containing the libraries to be registered just add "." to the variable, e.g. by issuing "export DYLD_LIBRARY_PATH=.:$DYLD_LIBRARY_PATH" in the bash shell.


Happy hacking,
Florian Heckl


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to