-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
[Bug] .dylib GDAL libs should be listed in lib/raster/gdal.c #326
Comments
So, something like this?
If you have a working patch, please submit it (easier...), thanks |
@metzm may I apply my proposed fix? Any harm to be expected? |
For a proper fix, you would need to list all supported GDAL dylib versions, not only libgdal.26.dylib. Who could provide such a list of GDAL dylib versions? |
@Veence any idea? |
(un)related: https://trac.osgeo.org/grass/ticket/3230 |
@rouault do you have an idea for us? |
yes, but probably not the one you expect: use standard build-time linking mechanism instead of run-time one :-) |
The file
lib/raster/gdal.c
has a list of possible GDAL lib names it can dlopen () in theload_library
function. However, this list so far has only included .so or .dll suffixes, which are fine for Linux and Windows, but obviously not for MacOS. It would be nice to add something like:# ifdef _ _APPLE_ _
"libgdal.26.dylib",
…
That would help eliminate a patch file. Thanks!
The text was updated successfully, but these errors were encountered: