Skip to content

Instantly share code, notes, and snippets.

@ajashton
Created June 26, 2012 15:20
Show Gist options
  • Save ajashton/2996399 to your computer and use it in GitHub Desktop.
Save ajashton/2996399 to your computer and use it in GitHub Desktop.
module.js:477
process.dlopen(filename, module.exports);
^
Error: Unable to load shared library /home/aj/src/tm-master/node_modules/mapnik/lib/_mapnik.node
at Object..node (module.js:477:11)
at Module.load (module.js:353:31)
at Function._load (module.js:311:12)
at Module.require (module.js:359:17)
at require (module.js:375:17)
at Object.<anonymous> (/home/aj/src/tm-master/node_modules/mapnik/lib/mapnik.js:18:14)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)
at Module.load (module.js:353:31)
at Function._load (module.js:311:12)
@springmeyer
Copy link

what does this give?

python -c "import ctypes;print ctypes.CDLL('/home/aj/src/tm-master/node_modules/mapnik/lib/_mapnik.node')"

@ajashton
Copy link
Author

@springmeyer

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/aj/src/tm-master/node_modules/mapnik/lib/_mapnik.node: undefined symbol: _ZN6mapnik8hit_gridIiE9base_maskE

@yhahn
Copy link

yhahn commented Jun 26, 2012

@stealthmeyer strikes again!

@springmeyer
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment