{"action":"created","issue":{"url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/70","repository_url":"https://api.github.com/repos/xplicit/HyperFastCgi","labels_url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/70/comments","events_url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/70/events","html_url":"https://github.com/xplicit/HyperFastCgi/issues/70","id":184107005,"number":70,"title":"Trying to test NativeTransport and getting DllNotFoundException","user":{"login":"jpasichnyk","id":1373292,"avatar_url":"https://avatars.githubusercontent.com/u/1373292?v=3","gravatar_id":"","url":"https://api.github.com/users/jpasichnyk","html_url":"https://github.com/jpasichnyk","followers_url":"https://api.github.com/users/jpasichnyk/followers","following_url":"https://api.github.com/users/jpasichnyk/following{/other_user}","gists_url":"https://api.github.com/users/jpasichnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/jpasichnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpasichnyk/subscriptions","organizations_url":"https://api.github.com/users/jpasichnyk/orgs","repos_url":"https://api.github.com/users/jpasichnyk/repos","events_url":"https://api.github.com/users/jpasichnyk/events{/privacy}","received_events_url":"https://api.github.com/users/jpasichnyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T00:24:40Z","updated_at":"2016-10-20T04:05:23Z","closed_at":null,"body":"```\r\nUnhandled Exception:\r\nSystem.DllNotFoundException: libhfc-native\r\n  at (wrapper managed-to-native) HyperFastCgi.Listeners.NativeListener:Listen (uint16,string,uint16)\r\n  at HyperFastCgi.Listeners.NativeListener.Listen () <0x4124c3c0 + 0x00107> in <filename unknown>:0\r\n  at HyperFastCgi.MainClass.Main (System.String[] args) <0x410950b0 + 0x01994> in <filename unknown>:0\r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libhfc-native\r\n  at (wrapper managed-to-native) HyperFastCgi.Listeners.NativeListener:Listen (uint16,string,uint16)\r\n  at HyperFastCgi.Listeners.NativeListener.Listen () <0x4124c3c0 + 0x00107> in <filename unknown>:0\r\n  at HyperFastCgi.MainClass.Main (System.String[] args) <0x410950b0 + 0x01994> in <filename unknown>:0\r\n[2016-10-19 17:20:29Z] Debug   HyperFastCgi\r\n```\r\n\r\n\r\nIt shows up in my ldconfig though... The managed transport works fine, but its just slow so I wanted to try out the native transport.  I've tried running with LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH, but no help.\r\n\r\n```\r\nroot@p-dev:/tmp# ldconfig -p |grep libhfc-native\r\n        libhfc-native.so.1 (libc6,x86-64) => /usr/lib/libhfc-native.so.1\r\n        libhfc-native.so (libc6,x86-64) => /usr/lib/libhfc-native.so\r\n```\r\n\r\nThoughts?  "},"comment":{"url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/comments/255004011","html_url":"https://github.com/xplicit/HyperFastCgi/issues/70#issuecomment-255004011","issue_url":"https://api.github.com/repos/xplicit/HyperFastCgi/issues/70","id":255004011,"user":{"login":"antonheryanto","id":801714,"avatar_url":"https://avatars.githubusercontent.com/u/801714?v=3","gravatar_id":"","url":"https://api.github.com/users/antonheryanto","html_url":"https://github.com/antonheryanto","followers_url":"https://api.github.com/users/antonheryanto/followers","following_url":"https://api.github.com/users/antonheryanto/following{/other_user}","gists_url":"https://api.github.com/users/antonheryanto/gists{/gist_id}","starred_url":"https://api.github.com/users/antonheryanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonheryanto/subscriptions","organizations_url":"https://api.github.com/users/antonheryanto/orgs","repos_url":"https://api.github.com/users/antonheryanto/repos","events_url":"https://api.github.com/users/antonheryanto/events{/privacy}","received_events_url":"https://api.github.com/users/antonheryanto/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T04:05:23Z","updated_at":"2016-10-20T04:05:23Z","body":"might need to add dll map to etc/mono/config\r\n\r\nmy setup prefix is /opt/mono so i edit /opt/mono/etc/mono/config an add this\r\n```\r\n<configuration>\r\n...\r\n  <dllmap dll=\"libhfc-native\" target=\"/opt/mono/lib64/libhfc-native.so\" os=\"!windows\"/>\r\n  <dllmap dll=\"libhfc-native\" target=\"/opt/mono/lib64/libhfc-native.so\" os=\"!windows\"/>\r\n</configuration>\r\n```"}}
{"actor":{"display_login":"antonheryanto"}}