Skip to content

Instantly share code, notes, and snippets.

@chorrell
Created July 26, 2012 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chorrell/3180044 to your computer and use it in GitHub Desktop.
Save chorrell/3180044 to your computer and use it in GitHub Desktop.
Install taglib-ruby gem on a 64 bit SmartMachine
# Download the required TagLib lib
mkdir src
cd src
curl -OL https://github.com/downloads/taglib/taglib/taglib-1.7.2.tar.gz
tar xvf taglib-1.7.2.tar.gz
cd taglib-1.7.2
# Make sure cmake and gcc are installed
pkgin -y install cmake
pkgin -y install gcc-compiler
# Set the things up for 64 bit
export CFLAGS='-m64 -I/opt/local/include'
export CPPFLAGS='-I/opt/local/include -D_REENTRANT -I/usr/include'
export CXXFLAGS='-m64 -L/opt/local/lib/amd64'
export LDFLAGS='-m64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib/amd64'
cmake -DCMAKE_INSTALL_PREFIX=/opt/local .
make
make install
gem install taglib-ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment