Could not open library 'lib.so': lib.so: cannot open shared object file: No such file or directory #17
Comments
I am having the same issue on ArchLinux. It appears to be a problem in the initialize function in the PythonExec class. On systems where the Python executable (reported by sys.executable) is something like /usr/bin/python2.7, the test: |
Does this bug still occur in version 0.6.2? |
(Reply via aati...@gmail.com): |
Gentoo 64bit also having this error with Jekyll/octopress. I tried to locate lib.so it doesn't find it. Using Python 2.7 in my eselect slot |
To run jekyll successfully, I did this. If all you need is to do run jekyll then use this diff (patch file pythonexec.rb in gems/rubypython-0.5.3/lib/rubypython). --- pythonexec.rb.old 2012-08-08 18:10:53.158118388 +0530
+++ pythonexec.rb 2012-08-08 18:10:56.296118290 +0530
@@ -23,7 +23,7 @@
@realname = "#{@python}#{@version}"
else
basename = File.basename(@python, '.exe')
- @realname = File.join(@dirname, "#{basename}#{@version.gsub(/\./, '')}")
+ @realname = "/usr/bin/python2.7" #File.join(@dirname, "#{basename}#{@version.gsub(/\./, '')}")
end
@basename = File.basename(@realname) Sadly, I don't know Ruby to fix the line which is causing the bug, so I applied this static fix. |
Loading python has been changed since 0.6. Does this still apply? |
Trying to run Jekyll, I get this error:
The text was updated successfully, but these errors were encountered: