Skip to content
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

Starting Node Get mySql_Binding Errors #78

Open
dusts66 opened this issue Jul 20, 2012 · 1 comment
Open

Starting Node Get mySql_Binding Errors #78

dusts66 opened this issue Jul 20, 2012 · 1 comment

Comments

@dusts66
Copy link

dusts66 commented Jul 20, 2012

Not sure where is start to fix this. I assume that it can't find mySql Server. I am running everything locally on my Mac(10.6.8). MySql is installed in /usr/local/mysql. I install the db-mysql in my local project folder. Below is the error when I start up node:

module.js:477
process.dlopen(filename, module.exports);
^
Error: Unable to load shared library /Users/dustindavidson/Sites/adsweb/node_modules/db-mysql/build/Release/mysql_bindings.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. (/Users/dustindavidson/Sites/adsweb/node_modules/db-mysql/db-mysql.js:18:15)
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)

@qraynaud
Copy link

I believe this is due to a malfunction during install. Please npm remove node-db-mysql and install it again. Be extra careful for ERR messages during install. If there are some, please repot theme here if you don't understand them. A common error is either compiler is missing or libmysql-dev files not installed first. Those are a dependency to get this module working. If you didn't remember installing them, then there you have your problem. Install mysql dev files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants