Problem running loudmouth-ruby example

9 views
Skip to first unread message

Brian Noguchi

unread,
Sep 8, 2009, 2:31:33 AM9/8/09
to Loudmouth Dev
I am on Loudmouth-1.4.3 and using loudmouth-ruby from engineyard's
github repo.

When I run

ruby examples/send-message-evented.rb

I get the following error:

/opt/ruby-enterprise-1.8.6-20090113/lib/ruby/site_ruby/1.8/x86_64-
linux/loudmouth.so: libloudmouth-1.so.0: cannot open shared object
file: No such file or directory - /opt/ruby-enterprise-1.8.6-20090113/
lib/ruby/site_ruby/1.8/x86_64-linux/loudmouth.so (LoadError)

It looks like my libloudmouth-1.so.0 is in my /usr/local/lib
directory, so I think this has to do with some configuration issue in
loudmouth-ruby in terms of where to look for libloudmouth-1.so;
however, I'm not sure how to go about how to fix this.

Any help in getting this to work would be great.

Thanks,
--Brian

Ganesh Kundapur

unread,
Sep 8, 2009, 4:21:48 AM9/8/09
to loudmo...@googlegroups.com
Try to set the LD_LIBRARY_PATH as

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Br,
Ganesh

Brian Noguchi

unread,
Sep 8, 2009, 7:41:39 PM9/8/09
to Loudmouth Dev
Thanks! That did the trick.
--B

On Sep 8, 1:21 am, Ganesh Kundapur <ganesh.kunda...@gmail.com> wrote:
> Try to set the LD_LIBRARY_PATH as
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
>
> Br,
> Ganesh
>
Reply all
Reply to author
Forward
0 new messages