Closed kiendang closed 4 years ago
Hi @kiendang. I'm not sure what "I upgraded and failed" mean in this case, do you mean the upgrade process failed or some function of GDAL did? As far as I know, it's done this way to ensure compatibility between PostgreSQL and the GDAL driver. However, you could unlinking it after the GDAL installation and link again your desired version, whether core or osgeo.
However, you could unlinking it after the GDAL installation and link again your desired version, whether core or osgeo.
Yes that's what I did. But considering 1. the package works fine without linking osgeo-postgres
and 2. homebrew-core/postgresql
is one of the most commonly installed formulae is it better to not require linking? Or at least change the caveat message which implies linking is not required
osgeo-postgresql
formulas are also thought as companions to osgeo-postgis
formulas or osgeo-grass
, so it'd make sense to link all of them and keep them working together as the standard.
There is an open debate though whether we should use core formulas again instead. At this moment the main advantages are finer control to upgrades and python extensions in osgeo formulas.
I agree caveats message could be adjust, perhaps with this explanation https://github.com/OSGeo/homebrew-osgeo4mac/issues/1380#issuecomment-633206747. Would you suggest something different?
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want to keep the issue open, please comment or update the info here. Thank you for your contributions.
This issue or pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.
Please answers the following
I've...
brew update
twice?)brew gist-logs formula
Describe the bug
I've been using the
osgeo-gdal
formula for a while now.osgeo-gdal
depends onosgeo-postgresql
. However as my usecase does not involve postgres integration I was already using thepostgresql
fromhomebrew-core
and didn't want to change that I instead installedosgeo-postgresql@11
keg-only. Everything was fine until I upgraded to3.1.0
version, failed and realized now allosgeo-postgresql
formulas, including@10
and@11
require linking and my setup of linkedhomebrew-core/postgresql
+ keg-onlyosgeo-postgresql@11
doesn't work anymore. May I ask what prompted the change and is it possible to revert it so that keg-only installation ofosgeo-postgresql@10/@11
is enough because if I'm not wrong originally that was the intended behavior as seen in the caveat section of these formulashttps://github.com/OSGeo/homebrew-osgeo4mac/blob/77e7c268577f4f0895e4a0dcda6c81ab8c07514a/Formula/osgeo-postgresql%4011.rb#L234-L245