-
Notifications
You must be signed in to change notification settings - Fork 1
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
Symbol lookup error #2
Comments
This is because you are using a different node version that the binary was compiled with. I can't recall what version I originally build the binary against - likely v0.6. What version of node are you targeting? |
Thanks for getting back to me on this. I didn't change anything from the original clone, and
After doing some research, I found out that this problem is fixed if you use Node version 0.8.x, so I changed to that version of the engine, push that to Heroku, and that's when I get the symbol lookup error (which you pointed out is due to the difference in versions of Node and the compiled binary). So basically the barrier to using this out-of-the-box is the above error when using 0.6.x. Please let me know if I can give you more info to troubleshoot, I would love to get this up and running. |
Okay. If I were you I would try to find another workaround for that odd |
Cool, I'll see what I can come up with for the odd error and post results here. On Mon, Apr 1, 2013 at 6:23 PM, Dane Springmeyer
|
So unfortunately I haven't found any other workarounds. Targeting node v0.10.0 seems to be the way to go... |
Okay, node v0.10.0 is very close - just some build tweaking to be done. Then the task is to provide precompiled binaries of libmapnik to build against, which is on my list. Let's track at mapnik/mapnik-packaging#73. |
Sounds good, let me know if I can help test. |
Hi @springmeyer and @bensheldon, this is an old thread, but I'm running into the need to run Node & Mapnik on Heroku again. What's considered the best way to do this now? |
@gadybadger the official node-mapnik release I think will run fine on heroku now. Please try it and create an issue at https://github.com/mapnik/node-mapnik/issues if you have any trouble. Also see mapnik/node-mapnik#863 for details on running on lambda. |
@springmeyer, yep, it works like a charm on Heroku with the following:
(pgbouncer so I can use Heroku's config vars to access the database connection info in the Node app)
Running on Lambda looks awesome, I will try that out. |
@gadybadger could you try with node-mapnik 3.7.1? If it works, would be great to get these setup instructions into the node-mapnik wiki/docs. |
@springmeyer, node-mapnik v3.7.1 works fine as well. I'm happy to add to the wiki, just let me know where to put it. |
@springmeyer Thank you for helping track this down. |
So I cloned your repo, pushed it to a shiny new Heroku app, set the LD_LIBRARY_PATH config var, and when I run the app I get an application error and heroku logs tell me why:
Any idea why this is happening? Am I missing a step somewhere?
The text was updated successfully, but these errors were encountered: