-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot allocate memory in static TLS block #47
Comments
That is not the swisseph's issue, you can try to update glibc on your server, if your vps is CentOS ,you can try |
@keel Thanks for your response. im running linux mint 18 (based on ubuntu 16), node 8.8.1, glibc version 2.23 and libc6 version 2.23 |
swisseph-new is my work to update swisseph to 2.0.6, (sorry mivion, I need this version at that time), now mivion have done the update, so I reset it to mivion's version, but mivion forgot to push to npm. @mivion please publish this version to npm, so we can use the new one. @timotejroiko you can try to update swisseph-new which is same as mivion's current version. or downgrade the nodejs to 6 for a try. |
@keel I tried switching to various node versions, including 6 and the newest 9. problem persists on all of them. I used nvm to switch node version, then used npm install swisseph-new again. i messed around with the files a bit and the problem seems to occur somewhere in swisseph/deps perhaps it is also a problem with my virtual machine. i will try to test in another environment EDIT: It successfully installed and ran in another virtual machine running linux mint 14. It seems the problem is indeed this linux installation. I will reinstall linux mint 18 and test it again. Edit2: still no success in linux mint 18 after a clean install. i dont know what the problem is... |
@timotejroiko I'm not familiar with glibc nor ubuntu, and I have no environment to test it. If I were you, I will try this: |
@keel The problem seems to be with the architecture. I installed the x64 version of mint 18 this time and it worked. my previous install that didnt work was x86. so either there is a problem with the new swisseph and x86 or there is a problem in the x86 version of dependencies. well, for now the issue has been resolved. |
@keel could you make a PR, or even add you as contributor? Also i've added you as collaborator to npm. You may publish updated version. @timotejroiko @keel thanks a lot for your help. |
@mivion thanks for your trust, I have published the updated version to npm. |
@keel, thanks for your help. |
OK, it's done. |
👍 |
my app is running it fine in a windows machine with node-webkit and nw-gpy. now im trying to port it into pure nodejs to use in a linux VPS.
The standard "npm install swisseph" works fine, but its version 2.02, not the latest swisseph 2.06
i tried both "npm install swisseph-new" and "npm install swisseph-zp", as well as downloading the zip package and running "node-gyp rebuild". all of them build but give the following error when running:
The text was updated successfully, but these errors were encountered: