Closed freedeaths closed 3 years ago
Sorry, I got it.
Step 1:
Copy the application and proj.db to any pc;
Step 2:
export PROJ_LIB environment variable.
Done!
Hey @freedeaths ! Just ran into a similar problem. Where did you find the proj.db
file? I'm trying to build a container for a project that depends on proj
but I don't know where to copy the proj.db
file from.
Question: Is it possible to compile the application statically with MUSL or other tools/methods? The application needs so many dependencies that it is not esay to deploy.
I have attemped:
I could run this application in PC where I compiled in. BUT I can't send this binary to other pc which says "cannot find proj.db and balabala" after run this binary.
Compiled this project as proj.rlib or proj.a successful(wrapped with libproj.a generated);
Fail to compiled the application 1 with musl on Ubuntu Server 18.04 and got ERROR like: