[erlang-questions] posregex error: RE_drv not found

YC <>
Fri Oct 5 21:43:06 CEST 2007


Hi -

Thanks for the suggestion, I can load crypto without issues.

Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
[kernel-poll:false]

Eshell V5.5.5  (abort with ^G)
1> crypto:start().
ok
2> crypto:rand_bytes(16).
<<117,32,104,64,51,200,141,119,39,189,60,97,57,38,83,207>>

And posregex shows up in the path when I look @ code:get_path(), and
code:priv_dir(posregex) does point to the right location as well.  Are there
other ways of verifying whether my build is broken?  I'm using fc6 and
gcc-4.1.1-51.

Thanks,
yc

On 10/5/07, Anders Nygren <> wrote:
>
> On 10/5/07, YC <> wrote:
> > Hi -
> >
> > I downloaded posregex and compile on my machine per the suggestion of
> the
> > thread
> >
> http://www.erlang.org/pipermail/erlang-questions/2007-September/029492.html
> > .   I'm able to make and sudo make install, but when I try to run it in
> > erlang I encounter the following message:
> >
> > 2> {ok, RE} = posregex:compile(<<"abc.*def">>,[extended]).
> > sh: line 0: exec: RE_drv: not found
> >
> >  BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> >        (v)ersion (k)ill (D)b-tables (d)istribution
> >
> > And not sure how to proceed from here.  I tried both 1.0 & 1.0.1 with
> the
> > same results.
> >
> > Any insights are appreciated, thanks.
> >
> > yc
> >
>
> I think Your Erlang system is broken. I recently had a similar problem,
> and
> it was solved by recompiling erlang with a different gcc version.
> The problem is that with the bad compiler version erlang is not able to
> load any drivers.
>
> If You try
> crypto:start()
> and it also fails, it is probably the same problem as I had.
>
> /Anders
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071005/a6465b7f/attachment.html>


More information about the erlang-questions mailing list