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

rgeo-0.3.20 failure with proj on mac #64

Closed
mflorisson opened this issue Feb 3, 2014 · 2 comments
Closed

rgeo-0.3.20 failure with proj on mac #64

mflorisson opened this issue Feb 3, 2014 · 2 comments
Labels

Comments

@mflorisson
Copy link

During code execution, rgeo 0.3.20 fails to link to proj ("_pj_init_plus").

  • I get this error message:
    dyld: lazy symbol binding failed: Symbol not found: _pj_init_plus
    Referenced from: /Users/marc/.rvm/gems/ruby-1.9.3-head/gems/rgeo-0.3.20/lib/rgeo/coord_sys/proj4_c_impl.bundle
    Expected in: flat namespace
    

I'm working on Mac environment (Mountain Lion).
I'm using ruby 1.9.3p455 (2013-07-17) [x86_64-darwin12.4.0].

  • I've installed proj with brew:
    brew info proj
    proj: stable 4.8.0
    http://trac.osgeo.org/proj/
    /usr/local/Cellar/proj/4.8.0 (47 files, 5,7M) *
    Built from source
    From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/proj.rb
    

Could some one help me ?

@bplaxco
Copy link

bplaxco commented Oct 24, 2014

What worked for me was to brew install proj and brew install geos then I did a gem uninstall rgeo and all related gems. Also before reinstalling them make sure that which proj is /usr/local/bin/proj. The Postgresql App has a copy of proj and I'm not sure but it may cause problems. I just moved the PostgreSQL part of my $PATH to the end. If you are still having problems then I suggest trying some things from #6 but this comment might be the most useful #6 (comment).

@teeparham
Copy link
Member

Proj4 has been extracted to a separate gem, rgeo-proj4. Please try the latest version of rgeo and re-open this issue in https://github.com/rgeo/rgeo-proj4 if it is still a problem. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants