> Date: Sat, 16 Aug 2014 15:28:00 +0300
> From: Eli Zaretskii <e...@gnu.org>
> 
>    ERROR: In procedure dynamic-func:
>      ERROR: In procedure dynamic-pointer: Symbol not found: strerror
>      FAIL: test-ffi
> 
> Does this test make some unportable assumptions about the 'strerror'
> symbol?  Or should I debug this?

Answering myself here: according to libltdl documentation, the call to
lt_dlopen with the argument FILENAME being NULL will only work if the
program was linked with the -export-dynamic option to the linker.

So yes, this test does make some non-portable assumptions.

Reply via email to