On Thu, Jul 5, 2012 at 2:18 AM, Tim Johnson <[email protected]> wrote:
> I've installed the mysql module, but it is the wrong architecture:
> here is a dump of the installation (no debug file was built)
> ************************************************************
> bash-3.2# npm install db-mysql
> npm http GET https://registry.npmjs.org/db-mysql
> npm http 304 https://registry.npmjs.org/db-mysql
>
>> [email protected] install /Users/tim/node_modules/db-mysql
>> node-waf configure build
>
> Checking for program g++ or c++          : /usr/bin/g++
> Checking for program cpp                 : /usr/bin/cpp
> Checking for program ar                  : /opt/local/bin/ar
> Checking for program ranlib              : /opt/local/bin/ranlib
> Checking for g++                         : ok
> Checking for node path                   : not found
> Checking for node prefix                 : ok /usr/local
> Checking for program mysql_config        : 
> /opt/local/lib/mysql5/bin/mysql_config
> Checking for library mysqlclient_r       : Missing libmysqlclient_r
> 'configure' finished successfully (1.911s)
> Waf: Entering directory `/Users/tim/node_modules/db-mysql/build'
> [ 1/12] cxx: lib/node-db/binding.cc -> build/Release/lib/node-db/binding_1.o
> [ 2/12] cxx: lib/node-db/connection.cc -> 
> build/Release/lib/node-db/connection_1.o
> [ 3/12] cxx: lib/node-db/events.cc -> build/Release/lib/node-db/events_1.o
> [ 4/12] cxx: lib/node-db/exception.cc -> 
> build/Release/lib/node-db/exception_1.o
> [ 5/12] cxx: lib/node-db/query.cc -> build/Release/lib/node-db/query_1.o
> [ 6/12] cxx: lib/node-db/result.cc -> build/Release/lib/node-db/result_1.o
> [ 7/12] cxx: src/connection.cc -> build/Release/src/connection_1.o
> [ 8/12] cxx: src/mysql.cc -> build/Release/src/mysql_1.o
> [ 9/12] cxx: src/query.cc -> build/Release/src/query_1.o
> [10/12] cxx: src/result.cc -> build/Release/src/result_1.o
> [11/12] cxx: src/mysql_bindings.cc -> build/Release/src/mysql_bindings_1.o
> [12/12] cxx_link: build/Release/lib/node-db/binding_1.o 
> build/Release/lib/node-db/connection_1.o build/Release/lib/node-db/events_1.o 
> build/Release/lib/node-db/exception_1.o build/Release/lib/node-db/query_1.o 
> build/Release/lib/node-db/result_1.o build/Release/src/connection_1.o 
> build/Release/src/mysql_1.o build/Release/src/query_1.o 
> build/Release/src/result_1.o build/Release/src/mysql_bindings_1.o -> 
> build/Release/mysql_bindings.node
> ld: warning: ignoring file 
> /opt/local/lib/mysql5/mysql/libmysqlclient_r.dylib, file was built for 
> unsupported file format which is not the architecture being linked (i386)
> ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for 
> unsupported file format which is not the architecture being linked (i386)
> ld: warning: ignoring file /opt/local/lib/libssl.dylib, file was built for 
> unsupported file format which is not the architecture being linked (i386)
> ld: warning: ignoring file /opt/local/lib/libcrypto.dylib, file was built for 
> unsupported file format which is not the architecture being linked (i386)
> Waf: Leaving directory `/Users/tim/node_modules/db-mysql/build'
> 'build' finished successfully (2.716s)
> [email protected] node_modules/db-mysql
> ************************************************************
> This installation is on mac OSX ver 10.7 (darwin)

Maybe related to https://github.com/joyent/node/issues/3633 ?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to