This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Broken libtoolize #215
Comments
@Algunenano @mhugo But I wonder if it's really necessary. Is the control file really useful on your distribution? |
The problem in this case comes from the transitive dependency:
|
Postgis -> gdal (with sfcgal option enabled?) -> sfcgal I think it's not a problem if we remove this file. I'll try on my machine too. |
On FreeBSD I don't use this file. |
Yes, the issue only happens when gdal was compiled with sfcgal enabled. |
I confirm that the Postgis build was fixed by #223. |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After #207, the Postgis build is broken because it's failing to find 'lib/libSFCGAL.la' which doesn't exist.
If we check libSFCGAL.la we see this:
Notice the
libdir='lib'
which is incorrect.Then when GDAL links against this it gets:
Here we can see it's linking to
lib/libSFCGAL.la
.This ends up in Postgis build where it fails:
Editing the resulting libgdal.la to use
/usr/local/lib/libSFCGAL.la
instead fixes it, but I don't know where that comes from.My knowledge about cmake is limited, but shouldn't this use
CMAKE_INSTALL_FULL_LIBDIR
instead?Changing the following:
Seems to solve the issue for me.
The text was updated successfully, but these errors were encountered: