Shoes Ruby GUI toolkit [error while loading shared libraries: libcairo.so.2: cannot open shared object file: No such file or directory] - ruby

When I try to run shoes application like at console: shoes app.rb
Getting following error on console-
Verifying archive integrity... All good.
Uncompressing Shoes....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
/tmp/selfgz5416/shoes-bin: error while loading shared libraries: libcairo.so.2: cannot open shared object file: No such file or directory

Related

cannot open shared object file: No such file or directory yet file directory and everything exists (ruby project)

Error: The application encountered the following error: libicudata.so.48: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.6/lib/charlock_holmes/charlock_holmes.so (LoadError)
yet vi /usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.6/lib/charlock_holmes/charlock_holmes.so opens it right up...
I am on centos 7 using ruby 2.3.1
Any idea why this is doing this

ROOT cern install error

I'm trying to install ROOT (from cern) and I have a problem. This is the error that I have after make comand.
bin/rootcling: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory
How can I resolve this? I looked for a libtinfow package but seems it doen't exist!
You need to install ncurses shared lib, and while configuring ncurses before building do:
./configure --prefix=/path/to/ncurses --with-termlib --with-shared --enable-widec

Memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file

Situation: I installed memcached on a CenTOS 5 (64 bit). I also ended up installing some PHP plugins using PECL, though they're unnecessary now.
Problem:When I execute
/etc/init.d/memcached start
I get the following error:
Starting memcached: memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
But the file libevent-2.0.so.5 is present in /opt/couchbase/lib/.
Should it be there in some other folder ? How to get memcached to start ?
/opt/couchbase/lib will not be set on your system library path by default. That's why your unable to find libevent when running /etc/init.d/memcached.
To quickly solve this you can just run the command as follows:
LD_LIBRARY_PATH=/opt/couchbase/lib /etc/init.d/memcached
or to solve this over the long term add the following file (assuming your using centos):
/etc/ld.so.conf.d/couchbase.conf
and in that file add the path "/opt/couchbase/lib". Then run ldconfig and re-run the command to start memcached.
sudo ln -s /usr/lib/libevent-2.1.so.6 /usr/lib64/libevent-2.1.so.6
for libevent-2.0.so.5 the same.

Error building the webrtc code on mac

This is the error:
sys/cdefs.h' file not found
what i've done is just follow the offical steps,the" gclient sync --force" prompt the following errors:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_fake_stack.cc:14:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_allocator.h:19:
In file included from /Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/asan/asan_interceptors.h:18:
/Users/ted/Desktop/webrtcSrc/WD/trunk/third_party/llvm/projects/compiler-rt/lib/interception/interception.h:90:10: fatal error: 'sys/cdefs.h' file not found
=====
what the problem?
On Mavericks? Try typing "xcode-select --install" to pop up the dialog to install the Xcode command-line tools. That should give you a /usr/include directory and then building LLVM should work.
Ref: http://clang-developers.42468.n3.nabble.com/Naive-Mavericks-Trunk-Build-Errors-td4035480.html

RDF-raptor-parser

I am trying to parse the rdf file but
I am getting error while executing following code in ubuntu
RDF::Reader.open("http://datagraph.org/jhacker/foaf.rdf") do |reader|
reader.each_statement do |statement|
puts statement.inspect
end
end
as
LoadError: Could not open library 'libraptor': libraptor: cannot open shared object file: No such file or directory. Could not open library 'libraptor.so': libraptor.so: cannot open shared object file: No such file or directory
I installed all the required gems:
rdf
rdf-raptor
ffi
rdf-json
rdf-trix
Please help me how to rectify this problem
I suggest you visit http://rdf.rubyforge.org/raptor/ and use the contact info mentioned there such as the mailing list. The error is because the C shared library libraptor.so cannot be found by ruby, so it must have been installed in a non-standard place. I am the author of Raptor but I do not know how rdf-raptor installed Raptor.

Resources