Error with Regex

"bqt0xenk" <[email protected]> Mon, 12 Mar 2012 16:44:58 -0000
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Hi,

I try executing this code:

regex := Regex with("a+")
match := "aaaa73noises" matchesOfRegex(regex) next


but get this error:

IoState_protoWithId_() Error: missing proto with id
IoState fatal error: missing proto 'RegexMatch'%      


I have 

libpcre3                                        7.8-3build1 

installed on my system and compiled libpcre 8 to /usr/local/lib

ldd /usr/local/lib/io/addons/Regex/_build/dll/libIoRegex.so gives:

libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0xb7673000)



Any ideas?