Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX - Could not open library 'lib.dylib': #759

Closed
atmosx opened this issue Sep 15, 2012 · 1 comment
Closed

OSX - Could not open library 'lib.dylib': #759

atmosx opened this issue Sep 15, 2012 · 1 comment

Comments

@atmosx
Copy link

atmosx commented Sep 15, 2012

Hello,

I'm trying to migrate from wordpress to octopress. I converted my xml output to markdown, then I used a ruby script to turn Greek chars (utf8) to something readable in the standard 'posts' format. Now I have about 221 posts in '_posts' but when I try to 'rake generate' I get:

➜  .convalesco git:(master) ✗ rake generate
## Generating Site with Jekyll
unchanged sass/screen.scss
/Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
Configuration from /Users/atma/.convalesco/_config.yml
Building site: source -> public
  File "<string>", line 1
    import sys; print sys.executable
                        ^
SyntaxError: invalid syntax
sh: - : invalid option
Usage:  sh [GNU long option] [option] ...
    sh [GNU long option] [option] script-file ...
GNU long options:
    --debug
    --debugger
    --dump-po-strings
    --dump-strings
    --help
    --init-file
    --login
    --noediting
    --noprofile
    --norc
    --posix
    --protected
    --rcfile
    --restricted
    --verbose
    --version
    --wordexp
Shell options:
    -irsD or -c command or -O shopt_option      (invocation only)
    -abefhkmnptuvxBCHP or -o option
sh: - : invalid option
Usage:  sh [GNU long option] [option] ...
    sh [GNU long option] [option] script-file ...
GNU long options:
    --debug
    --debugger
    --dump-po-strings
    --dump-strings
    --help
    --init-file
    --login
    --noediting
    --noprofile
    --norc
    --posix
    --protected
    --rcfile
    --restricted
    --verbose
    --version
    --wordexp
Shell options:
    -irsD or -c command or -O shopt_option      (invocation only)
    -abefhkmnptuvxBCHP or -o option
/Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/ffi-1.0.11/lib/ffi/library.rb:121:in `block in ffi_lib': Could not open library 'lib.dylib': dlopen(lib.dylib, 9): image not found (LoadError)
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/ffi-1.0.11/lib/ffi/library.rb:88:in `map'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/ffi-1.0.11/lib/ffi/library.rb:88:in `ffi_lib'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/rubypython-0.5.3/lib/rubypython/python.rb:29:in `<module:Python>'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/rubypython-0.5.3/lib/rubypython/python.rb:21:in `<top (required)>'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/rubypython-0.5.3/lib/rubypython.rb:261:in `load'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/rubypython-0.5.3/lib/rubypython.rb:261:in `reload_library'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/rubypython-0.5.3/lib/rubypython.rb:104:in `start'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/pygments.rb-0.2.13/lib/pygments/ffi.rb:8:in `start'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/pygments.rb-0.2.13/lib/pygments/ffi.rb:82:in `highlight'
    from /Users/atma/.convalesco/plugins/pygments_code.rb:24:in `pygments'
    from /Users/atma/.convalesco/plugins/pygments_code.rb:14:in `highlight'
    from /Users/atma/.convalesco/plugins/backtick_code_block.rb:37:in `block in render_code_block'
    from /Users/atma/.convalesco/plugins/backtick_code_block.rb:13:in `gsub'
    from /Users/atma/.convalesco/plugins/backtick_code_block.rb:13:in `render_code_block'
    from /Users/atma/.convalesco/plugins/octopress_filters.rb:12:in `pre_filter'
    from /Users/atma/.convalesco/plugins/octopress_filters.rb:28:in `pre_render'
    from /Users/atma/.convalesco/plugins/post_filters.rb:112:in `block in pre_render'
    from /Users/atma/.convalesco/plugins/post_filters.rb:111:in `each'
    from /Users/atma/.convalesco/plugins/post_filters.rb:111:in `pre_render'
    from /Users/atma/.convalesco/plugins/post_filters.rb:166:in `do_layout'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/post.rb:189:in `render'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:193:in `block in render'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:192:in `each'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:192:in `render'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:40:in `process'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/bin/jekyll:250:in `<top (required)>'
    from /Users/atma/.rvm/gems/ruby-1.9.3-p194/bin/jekyll:23:in `load'

Any ideas why this happens? I have 2 octopress blogs, I preview both of them using 'pow' locally. The other works without issue. I searched every post for png/jpg images but there aren't any. I have no idea what's happening and don't know where to start looking for a solution.

@atmosx atmosx closed this as completed Sep 15, 2012
@atmosx atmosx reopened this Sep 15, 2012
@parkr
Copy link
Collaborator

parkr commented Dec 17, 2012

If you're still having problems, please start a new topic in the Octopress Google Group, where we'll be taking care of non-dev issues. Thanks!

@parkr parkr closed this as completed Dec 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants