regex on mac os x

Andrea Franz <[email protected]> Fri, 17 Feb 2012 00:33:49 +0100
Newsgroups gmane.comp.lang.io
Message-ID <CAAN2U-E8hWYaONRbJAes_q8W404Axti8qWbchiOwZpmJwCrCvA@mail.gmail.com>
Hi guys I installed io with "brew install io".
Unfortunately if I call Regex I have this error:

Exception: Error loading object
'/usr/local/Cellar/io/2011.09/lib/io/addons/Regex/_build/dll/libIoRegex.dylib':
'dlopen(/usr/local/Cellar/io/2011.09/lib/io/addons/Regex/_build/dll/libIoRegex.dylib,
10): Library not loaded:
/tmp/homebrew-io-2011.09-M8Yb/stevedekorte-io-23afbcc/buildroot/addons/Range/_build/dll/libIoRange.dylib
  Referenced from:
/usr/local/Cellar/io/2011.09/lib/io/addons/Regex/_build/dll/libIoRegex.dylib
  Reason: image not found'

And the following if I try to install it with the --HEAD option:

Linking C shared library _build/dll/libIoMySQL.dylib
Undefined symbols for architecture x86_64:
  "_IoState_protoWithInitFunction_", referenced from:
      _IoMySQL_new in IoMySQL.c.o
      _IoMySQL_establish in IoMySQL.c.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [addons/MySQL/_build/dll/libIoMySQL.dylib] Error 1
make[1]: *** [addons/MySQL/CMakeFiles/IoMySQL.dir/all] Error 2
make: *** [all] Error 2


Am I doing something wrong? Thank you guys!

-- 
Andrea Franz
http://gravityblast.com
http://instalyrics.com