Error PROJ lib version
Hey,
Installed Python/ libs versions :
- Python 3.10
- GDAL 3.3.2
- PROJ 6.2.1
- OTB 7.4.0
I tried to install S1Tiling, the S1 image downloaded correctly but I have an error after downloading :
PROJ: proj_identify: /home/user/OTB-7.4.0-Linux64/share/proj/proj.db lacks DATABASE.LAYOUT.VERSION.MAJOR / DATABASE.LAYOUT.VERSION.MINOR metadata. It comes from another PROJ installation.
I understand that there are 2 versions of PROJ: the version on my machine (PROJ 6.2.1) and the one called by OTB in /home/florent/OTB-7.4.0-Linux64/share/proj
I tested to change the PROJ_LIB path in the otbenv.profile
(and load source obtenv.profil
) to the version my machine, but in my process the version called is always the OTB version (see error).
I also tried to :
- add PROJ_LIB path in
.bashrc
:PROJ_LIB=/usr/share/proj
- add
source /home/user/OTB-7.4.0-Linux64/otbenv.profile
in.bashrc
- add
gdal-config
in/home/user/OTB-7.4.0-Linux64/bin
But I still have the problem
If you have an idea of the source of the problem.
Thanks