On Sat 23 Jul 2016 13:51, Eli Zaretskii <e...@gnu.org> writes: > It assumes that libltdl can only produce a handle for a symbol in the > the program itself, as opposed to those loaded from shared libraries. > It tries 'strerror'. This cannot work on MS-Windows, unless the > program was linked with -export-dynamic, which is not true for > the test program.
Interesting. The test program is a Scheme script which looks up strerror in the dlopen(NULL). Libguile is compiled with -export-dynamic but the guile binary is not. Which part needs to be compiled with -export-dynamic, do you think? Andy