Google Groups Home Help | Sign in
installation issues
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
jnunemaker  
View profile
 More options Nov 14 2007, 8:31 pm
From: jnunemaker <nunema...@gmail.com>
Date: Wed, 14 Nov 2007 17:31:38 -0800 (PST)
Local: Wed, Nov 14 2007 8:31 pm
Subject: installation issues
So I sudo gem install'd data mapper. cd'd into the gem dir and did a
sudo rake dm:install:mysql. I got no complaints (or any output of any
kind).

When I try to setup a database connection I get the following error:

$ irb

>> require 'data_mapper'
=> true
>> DataMapper::Database.setup({:adapter  => 'mysql', :host     => 'localhost',:username => 'root',:database => 'weight_watchers_development', :password => ''})

dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r.
15.dylib
  Referenced from: /opt/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/
mysql_c.bundle
  Reason: image not found
Trace/BPT trap

Any ideas what is going on?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jnunemaker  
View profile
 More options Nov 14 2007, 8:37 pm
From: jnunemaker <nunema...@gmail.com>
Date: Wed, 14 Nov 2007 17:37:31 -0800 (PST)
Local: Wed, Nov 14 2007 8:37 pm
Subject: Re: installation issues
I'm on mac osx tiger if that helps. Forgot to put that in the message.

On Nov 14, 8:31 pm, jnunemaker <nunema...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Smoot  
View profile
 More options Nov 15 2007, 1:02 am
From: Sam Smoot <ssm...@gmail.com>
Date: Wed, 14 Nov 2007 22:02:03 -0800 (PST)
Local: Thurs, Nov 15 2007 1:02 am
Subject: Re: installation issues
jnunemaker, maybe this post will help?
http://groups.google.com/group/datamapper/browse_thread/thread/b03963...

It's a different gem, but seems to be a similar cause...

There's another solution:

Mysql NSLinkModule error

// If you get an error like this:

dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.
15.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
Reason: image not found
Trace/BPT trap

// You solve it like this:

sudo mkdir /usr/local/mysql/lib/mysql
cd /usr/local/mysql/lib/mysql
sudo ln -s /usr/local/mysql/lib/*.dylib .

Let me know if either of these helps?

On Nov 14, 7:37 pm, jnunemaker <nunema...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Nunemaker  
View profile
 More options Nov 16 2007, 9:54 pm
From: John Nunemaker <nunema...@gmail.com>
Date: Fri, 16 Nov 2007 21:54:08 -0500
Local: Fri, Nov 16 2007 9:54 pm
Subject: Re: installation issues
The sudo/cd/sudo worked. Thanks Sam. I've been dying to try  
datamapper but haven't had the time to figure out what was wrong.

On Nov 15, 2007, at 1:02 AM, Sam Smoot wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google