[Mono-dev] dlopen(libSystem.Data.dll, 9): image not found

Jonathan Mitchell lists at mugginsoft.com
Wed Mar 1 14:54:40 UTC 2017


While fixing a Dll import issue on MacOS I noticed the following:

Mono: DllImport error loading library 'libSystem.Data.dll.so': 'dlopen(libSystem.Data.dll.so, 9): image not found'.
Mono: DllImport error loading library 'libSystem.Data.dll.bundle': 'dlopen(libSystem.Data.dll.bundle, 9): image not found'.
Mono: DllImport error loading library 'libSystem.Data.dll': 'dlopen(libSystem.Data.dll, 9): image not found'.
Mono: DllImport unable to load library 'dlopen(libSystem.Data.dll, 9): image not found'.
Mono: DllImport attempting to load: 'System.Data.dll’.

By the time my app launches  dlopen() has attempted to load libSystem.Data.dll.whatever 1600 times.
My MacOS app launches and exceutes okay.

Is this normal behaviour on 4.8.0?

The list has a few references to libSystem.Data but that lib doesn’t seem to ship on MacOS.

#11 0x00007fffecf5033c in _dlerror_run () from /lib64/libdl.so.2
#12 0x00007fffecf4ff01 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#13 0x00000000006327f5 in mono_dl_open_file (file=<optimized out>, flags=<optimized out>) at mono-dl-posix.c:67
#14 0x0000000000632029 in mono_dl_open (name=name at entry=0x1c604d0 "/p/home/apps/unsupported/NAVAIR/build/mono-4.4.0/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/libSystem.Data.dll", flags=flags at entry=1, 
   error_msg=error_msg at entry=0x7fffd8090e80) at mono-dl.c:150
#15 0x000000000054cf90 in cached_module_load (name=name at entry=0x1c604d0 "/p/home/apps/unsupported/NAVAIR/build/mono-4.4.0/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/libSystem.Data.dll", err=err at entry=0x7fffd8090e80, 


Jonathan


More information about the Mono-devel-list mailing list