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

Jonathan Mitchell lists at mugginsoft.com
Wed Mar 1 15:37:01 UTC 2017


That’s what I thought.
I use System.Data.dll without issue.

> On 1 Mar 2017, at 15:08, Alexander Köplinger <alkpli at microsoft.com> wrote:
> 
> That's weird, System.Data.dll is a .NET Framework / BCL assembly so P/Invoking into it doesn't make sense.
> 
> - Alex
> 
>> On 01 Mar 2017, at 15:54, Jonathan Mitchell <lists at mugginsoft.com <mailto:lists at mugginsoft.com>> wrote:
>> 
>> 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
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.dot.net
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=02%7C01%7Calkpli%40microsoft.com%7C9779d9ca584a4715940308d460b2ed02%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636239768975589083&sdata=JujExXhhs%2B%2FbFErW13T9AQcqKEqHu6tQAGKU7dWLStU%3D&reserved=0 <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=02%7C01%7Calkpli%40microsoft.com%7C9779d9ca584a4715940308d460b2ed02%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636239768975589083&sdata=JujExXhhs%2B%2FbFErW13T9AQcqKEqHu6tQAGKU7dWLStU%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170301/4d8c88e0/attachment.html>


More information about the Mono-devel-list mailing list