Skip to content

jared having trouble finishing db:migrate on local #53

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

Open
ratacat opened this issue Jan 1, 2015 · 2 comments
Open

jared having trouble finishing db:migrate on local #53

ratacat opened this issue Jan 1, 2015 · 2 comments
Assignees

Comments

@ratacat
Copy link
Owner

ratacat commented Jan 1, 2015

on branch master, fresh git pull, did
rake db:drop
rake db:create
rake db:migrate

======================and got this error
== CreateNeighborhoodsTable: migrating =======================================
-- create_table(:neighborhoods)
NOTICE: CREATE TABLE will create implicit sequence "neighborhoods_id_seq" for serial column "neighborhoods.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "neighborhoods_pkey" for table "neighborhoods"
-> 0.0035s
-- execute("CREATE EXTENSION postgis;")
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedFile: ERROR: could not load library "/usr/local/Cellar/postgresql/9.2.4/lib/rtpostgis-2.0.so": dlopen(/usr/local/Cellar/postgresql/9.2.4/lib/rtpostgis-2.0.so, 10): Library not loaded: /usr/local/lib/libpng15.15.dylib

@ratacat
Copy link
Owner Author

ratacat commented Jan 1, 2015

@bteitelb any ideas?

@bteitelb
Copy link
Collaborator

bteitelb commented Jan 2, 2015

@ratacat The error says that it's having trouble loading one of the shared libraries that Postgres needs. You could try chasing down the problem using otool -L (the interwebz guesses your problem is with the GDAL library), but it might be easier to reinstall postgres. I'm using off-the-shelf Postgres.app and it works like a champ.

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