-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gdal] linux build does not get dependencies from vcpkg #8943
Comments
I believe #6752 is somewhat blocking this effort in that making vcpkg symlink Not familiar with the vcpkg source though to try adding support for this. |
I am also currently running into this issue. If I have netcdf/gdal installed from the arch repositories, then gdal will attempt to compile and link against them, and then I run into compatibility issues because arch linux includes newer versions. |
Yes, these problems with gdal have made me give up using vcpkg with linux. I have found vcpkg works great on windows, but on linux where it is rather difficult to exclude pre-installed packages in /usr, I am encountering inconsistencies with packages that sometimes get dependencies from vcpkg and sometimes from what has been apt-get installed. |
This issue should be fixed now. |
Please reopen this issue if it still exist. |
Is your feature request related to a problem? Please describe.
The linux vcpkg build of gdal does not get its dependencies from vcpkg. The
configure
command needs to refer to the vcpkg install path so it finds its dependencies there. For example, xerces-c or tiff. They are found in/usr
not in the vcpkg install path.I am not sure how to change to portfile, but here is how I built gdal using the vcpkg install directory as
$vcpkg
(I am not sure if the gdal build is using the vcpkg
geos
-- there is some strange behavior regarding the [missing] geos config file.)The text was updated successfully, but these errors were encountered: