<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear GRASS GIS users,<div class=""><br class=""></div><div class="">After installing GRASS GIS via Homebrew I encountered a problem when I tried to create a new location and set the projection. (I also posted this question on Stackoverflow: <a href="https://stackoverflow.com/questions/60871421/grass-gis-installed-with-homebrew-create-new-location-cannot-find-proj-db-err" class="">https://stackoverflow.com/questions/60871421/grass-gis-installed-with-homebrew-create-new-location-cannot-find-proj-db-err</a>) </div><div class="">Maybe someone of you has encountered the same problem or has any idea what might be the issue..</div><div class=""><br class=""></div><div class="">I work on MacOS Catalina and installed the latest stable release of
GRASS GIS (7.8.2) with Homebrew via the osgeo/osgeo4mac tap using the
commands <code class="">brew tap osgeo/osgeo4mac</code> and <code class="">brew install osgeo-grass</code> (as described on the GRASS website <a href="https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew" rel="nofollow noreferrer" class="">https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew</a>).</div><div class="post-text" itemprop="text"><p class="">To get the GUI working also <code class="">pip3 install wxpython</code> was necessary.
I could start GRASS with <code class="">grass78</code> on the commandline. When I tried to create a new location and to set the projection/crs </p>

<ol class="">
<li class="">I could not specify an EPSG code </li>
<li class="">browsing a georeferenced file to use its projection threw the error: "proj_get_authorities_from_database: Cannot find proj.db"</li>
</ol><p class="">and creation of location was cancelled.</p><p class="">Regarding 1. EPSG codes: the newest proj version does not provide a
file with epsg codes, seems like this was already an issue in GRASS 7.6
combined with proj 6.x (<a href="https://trac.osgeo.org/grass/ticket/3863" rel="nofollow noreferrer" class="">https://trac.osgeo.org/grass/ticket/3863</a>) but still couldn't find a way to get it working e.g. with another epsg file copied into the directory.</p><p class="">Regarding 2. I tried several things that didn't work:</p><p class="">I installed proj 5 (with <code class="">brew install osgeo-proj@5</code>) and also proj 6 (with a bottle from <a href="https://bottle.download.osgeo.org/?C=N&O=A" rel="nofollow noreferrer" class="">https://bottle.download.osgeo.org/?C=N&O=A</a>) but it throws errors at the same point saying that some library (refering proj) was not loaded and image was not found.</p><p class="">I tried to set the environment variable PROJ_LIB in .zshenv to the
respective path where proj.db is located (for version 6 and 7
respectively), still it threw the same error(s).</p><p class="">Do I need to set any other environment variables or might it be something related to GDAL?</p><div class="">Thank you very much. </div><div class="">Veronika</div></div></body></html>