Give help when facing 'Cannot load extension'#8
Conversation
|
Interesting, looks like a new dependency was added to liblwgeom w/out proper linking, are you up to file a ticket upstream ? liblwgeom.so ships with a call to an undefined function even when not configured to use it. |
|
Note that building fineltra against a dynamic liblwgeom would only result in a sane environment IFF PostGIS is also linked to liblwgeom dynamically, which is NOT the case by default (but might be when installed via some Debian packages) |
|
This is a bit beyond my understanding...Might be better phrased if you file the ticket on your side. Sorry, not that I don't want to collaborate, I just don't feel confident enough |
|
If I read things correctly, the missing symbol comes from a new enough proj library, was libproj linked in your build ? Which version ? |
|
and
|
|
What does this return:
```
nm /usr/lib/x86_64-linux-gnu/libproj.so.9 | grep geod_
```
|
not really good, is it? |
|
Try adding --dynamic to the call
|
|
|
Ok so next question is how did you build liblwgeom, as it looks like it was built against a newer proj4 version |
|
installed from ubuntugis-unstable |
|
Was proj4 installed from the same repo ?
In that case it looks like a package bug...
|
|
Sorry, both came from After re-enabling ubuntusgis, liproj-dev is still the same 4.9.2-2, while liblwgeom came from ubuntugis as 2.2.1+dfsg-3~xenial0. I would propose to have the helpl in the README, what do you think? |
|
If you leave a link to this issue in the README section I'll merge but we'd really want this fixed more than worked around. Maybe it's just a matter of linking line ordering. |
see #6