[Rbrainz-users] Fwd: mb-discid issue with OS X
phw at rubyforge.org
Wed Mar 31 03:49:47 EDT 2010
I'm forwarding the below message from a user to the list since I don't
have a Mac to test this. Does anybody have an idea what the problem
might be? Maybe the install script must check explicitly for
libdiscid.dylib (on Windows it seemed to be necessary to check for
---------- Forwarded message ----------
Date: Wed, Mar 31, 2010 at 4:40 AM
Subject: mb-discid issue with OS X
To: phw at rubyforge.org
I'm having trouble installing the mb-discid gem on OS X. My libdiscid
is located in /usr/local/lib
$ ls /usr/local/lib/libdiscid*
but the "gem install" command still claims I don't have libdiscid:
$ sudo gem install mb-discid
Building native extensions. This could take a while...
ERROR: Error installing mb-discid:
ERROR: Failed to build gem native extension.
checking for discid_new() in -ldiscid... no
checking for discid_new() in -ldiscid.dll... no
*** extconf.rb failed ***
Required library libdiscid not found.
I've tried a few different options:
sudo gem install mb-discid -- --with-discidlib=/usr/local/lib
But I'm not having very much luck. Am I doing something wrong? Any
help would be greatly appreciated.
For the record, I installed libdiscid from source on OS X and on
Ubuntu; on Ubuntu, `sudo gem install mb-discid` seemed to work, but
LoadError: libdiscid.so.0: cannot open shared object file: No such
file or directory -
Thank you for any help you can provide,
More information about the Rbrainz-users