bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Failure to load native libraries causes incorrect error messag


From: Elias Mårtenson
Subject: [Bug-apl] Failure to load native libraries causes incorrect error message
Date: Mon, 7 Apr 2014 00:12:49 +0800

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

[Prev in Thread] Current Thread [Next in Thread]