bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Failure to load native libraries causes incorrect error me


From: Juergen Sauermann
Subject: Re: [Bug-apl] Failure to load native libraries causes incorrect error message
Date: Sun, 06 Apr 2014 19:39:52 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

yes, please send the patch.

/// Jürgen


On 04/06/2014 06:12 PM, Elias Mårtenson wrote:
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]