Hi Alexey, GNU APL uses the C functions dlopen() to open the library and dlsym() to locate functions inside the library. From the printout we see that GNU APL finds the library file but the dlopen() of the existing file fails. Although the dlopen() and dlsym() functions are quite standard among different platforms, the way in which the dynamic library files are linked from the compiled object files differs considerably between platforms. In this particular case there could be 2 reasons for dlopen() to fail: 1. a bug in the platform as one of the posts below suggests. Somebody who had the same problem (although with a different library) has reported that after an OS-X update his problem disappeared. 2. The library must be constructed in a specific way. On GNU/Linux this is often properly handled by libtool, but I do not know if libtool even exists on OS-X and if it works properly. On GNU/Linux there is another tool called libtoolize which prepares autoconf projects that do not use libtoolize into projects that do. libtoolize does some magic to make shared library work and you may need to do something similar on your box. My proposal would be: 1. upgrade your OS-X as proposed in the post below. 2. If that does not fix the problem then learn from your platform documentation how shared libraries for use with dlopen() shall be built. And what namespaces are (they do not exist on GNU/Linux). Good Luck! /// Jürgen On 12/12/2017 12:27 PM, Alexey
Veretennikov wrote:
|
- [Bug-apl] Cannot find libemacs on older mac Alexey Veretennikov
- Re: [Bug-apl] Cannot find libemacs on older mac Juergen Sauermann
- Re: [Bug-apl] Cannot find libemacs on older m... Elias Mårtenson
- Re: [Bug-apl] Cannot find libemacs on old... Juergen Sauermann
- Re: [Bug-apl] Cannot find libemacs on... Elias Mårtenson
- Re: [Bug-apl] Cannot find libema... Juergen Sauermann
- Re: [Bug-apl] Cannot find li... Alexey Veretennikov
- Re: [Bug-apl] Cannot fin... Juergen Sauermann
- Re: [Bug-apl] Cannot fin... Alexey Veretennikov
- Re: [Bug-apl] Cannot fin... Juergen Sauermann
- Re: [Bug-apl] Cannot fin... Alexey Veretennikov
amandogra commented on Oct 2, 2016