[PROJ] Can't Find proj.db

Andrew Bell andrew.bell.ia at gmail.com
Fri Mar 20 11:54:53 PDT 2020


Hi,

I'm running a program linked to PROJ on docker.  I have verified that
proj.db is in the directory /usr/share/proj.  I have verified that my
application is linking to /usr/lib/libproj.so.15.  Yet when I run my
program I get:

GDAL failure (1) PROJ: proj_create_from_database: Cannot find proj.db

Setting PROJ_LIB explicitly to /usr/share/proj fixes the issue.  Is there
some way I can trace the cause of this failure?  I tried setting PROJ_DEBUG
to 3 but got no extra information.

Of note:

- I created the items in this docker container by moving files from another
location to /usr/lib, /usr/share, etc.
- I don't know if the path-relative finding is in this version, but I wrote
a small program to verify that dladdr() resolves to the correct
libproj.so.15 location.

>From the header files, I believe I'm using PROJ 6.3.  The library is
libproj.so.15.3.1.

Thanks,

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20200320/6292ccaf/attachment.html>


More information about the PROJ mailing list