The current mechanism to load native libraries first attempts to find a
library with the suffix .so. If that fails, it will try again with the
suffix .dylib (the OSX library extension).

This poses a problem, since if the .so library failed for any reason other
than the file not existing, the error message in )MORE will be:
"filename.dylib: file not found".

Since the dlopen facility does not provide a machine-readable way of
interpreting hat the error was (missing file, or failure to initialise?)
may I suggest we first identify which file exists and then perform a single
dlopen on that file.

I can do it and send patches if you want.

Regards,
Elias

Reply via email to