Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
libicui18n.so.48: cannot open shared object file #7
On staging environment, though, the gem installed fine, but whenever I run a rake task this is what i get:
libicui18n.so.48: cannot open shared object file: No such file or directory - /path/to/my/app/shared/bundle/ruby/1.9.1/gems/charlock_holmes-0.6.8/ext/charlock_holmes/charlock_holmes.so
I tried building the gem specifyng a path (I set it to the place where libicui18n.so.48 lives) as explained in the readme, but no luck :(
Does anyone know what's going on?
What I don't understand is why the gem installation doesn't give errors even if i build it with a non existing path or with no path at all...
I tried :
No one of those tries gave errors, but running rake tasks yielded the aforementioned error.
I even tried with different versions of icu (all compiled from source), but no luck...
You probably aren't having this problem anymore, but perhaps others are (I just got this error).
My (overkill) solution was to reinstall the bundle:
I applied your suggestion from @aberndsen and it also worked for me.
showed me finally:
And world is again a nice place to live in!
My error is similar but not exactly the same...
This happens in my staging environment after upgrade to ubuntu 14.04. Not sure the above fix is best to apply as part of my deploy...
For us it was a capistrano and capistrano-bundler issue.
capistrano changed the default location where it installs the gems and capistrano-bundler hasn't updated yet.
Adding this to our deploy.rb fixed the issue permanently for us:
I started having this issue after updating my DigitalOcean droplet to ubuntu 14.04. Solution suggested by @aberndsen worked for me.
However, I had to solve a little issue related to modernizr before running this second command:
Solution to that modernizr issue was the second one suggested here: http://stackoverflow.com/a/22827382/1865879