{"action":"created","issue":{"url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/43","repository_url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js","labels_url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/43/comments","events_url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/43/events","html_url":"https://github.com/justadudewhohacks/face-recognition.js/issues/43","id":298594329,"number":43,"title":"Cant get dlib to run on AWS Lambda when compiling with OpenBLAS.","user":{"login":"bobmoff","id":1033236,"avatar_url":"https://avatars2.githubusercontent.com/u/1033236?v=4","gravatar_id":"","url":"https://api.github.com/users/bobmoff","html_url":"https://github.com/bobmoff","followers_url":"https://api.github.com/users/bobmoff/followers","following_url":"https://api.github.com/users/bobmoff/following{/other_user}","gists_url":"https://api.github.com/users/bobmoff/gists{/gist_id}","starred_url":"https://api.github.com/users/bobmoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobmoff/subscriptions","organizations_url":"https://api.github.com/users/bobmoff/orgs","repos_url":"https://api.github.com/users/bobmoff/repos","events_url":"https://api.github.com/users/bobmoff/events{/privacy}","received_events_url":"https://api.github.com/users/bobmoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-20T13:31:11Z","updated_at":"2018-02-25T16:13:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Howdy!\r\n\r\nI got the library working as a  AWS Lambda function. I compiled it using their amazonlinux docker container, but as before the performance is really bad without the OpenBLAS support so i installed it using their yum package manager. Tried using blas, openblas, blas-devel and openblas-devel, openblas-static and also lapack and lapack-devel, but I keep ending up with these kind of errors:\r\n\r\n`libblas.so.3: cannot open shared object file: No such file or directory`\r\n\r\nor \r\n\r\n`libopenblas.so.0: cannot open shared object file: No such file or directory`\r\n\r\nwhen building the library (iside the amazonlinux docker container) i get this message at the end that makes me believe that the dependencies are not built statically:\r\n```\r\nLinking CXX shared library libdlib.so\r\n[100%] Built target dlib_shared\r\n```\r\nor could it be some kind of path issue ?\r\n\r\nthe libpng and libX11 libraries doesn't seem to have any issues, and i don't really know the difference as the those are also installed using yum as the packages libX11-devel and libpng-devel.\r\n\r\nfeels like i somehow need to make sure that the openblas library is packaged together with dlib in my node_modules directory or some other way accessible when running in the lambda environment.\r\n\r\nany ideas? \r\n"},"comment":{"url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/comments/368321773","html_url":"https://github.com/justadudewhohacks/face-recognition.js/issues/43#issuecomment-368321773","issue_url":"https://api.github.com/repos/justadudewhohacks/face-recognition.js/issues/43","id":368321773,"user":{"login":"justadudewhohacks","id":31125521,"avatar_url":"https://avatars0.githubusercontent.com/u/31125521?v=4","gravatar_id":"","url":"https://api.github.com/users/justadudewhohacks","html_url":"https://github.com/justadudewhohacks","followers_url":"https://api.github.com/users/justadudewhohacks/followers","following_url":"https://api.github.com/users/justadudewhohacks/following{/other_user}","gists_url":"https://api.github.com/users/justadudewhohacks/gists{/gist_id}","starred_url":"https://api.github.com/users/justadudewhohacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justadudewhohacks/subscriptions","organizations_url":"https://api.github.com/users/justadudewhohacks/orgs","repos_url":"https://api.github.com/users/justadudewhohacks/repos","events_url":"https://api.github.com/users/justadudewhohacks/events{/privacy}","received_events_url":"https://api.github.com/users/justadudewhohacks/received_events","type":"User","site_admin":false},"created_at":"2018-02-25T16:13:49Z","updated_at":"2018-02-25T16:13:49Z","author_association":"OWNER","body":"Just curious, I tried to install the package on amazonlinux via docker, but apparently with the recent npm release of face-recognition.js there are issues with line endings in the binding.gyp file resulting in a syntax error.\r\n\r\nDidn't you run in this problem as well or am I missing something here? Or clone the source code of the package instead of npm installing it?"}}
{"actor":{"display_login":"justadudewhohacks"}}