libgeographic17: Linker error with abi:cxx11 on Buster.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to use GeographicLib 1.47 on Raspbian Buster https:/
/usr/bin/
oco::Util:
/import/
::Encode[
hicLib::DMS::flag, char)'
/usr/bin/
reference to `GeographicLib:
:component, unsigned int, GeographicLib:
collect2: error: ld returned 1 exit status
With an older Raspbian version (Jessie), everything used to work fine. I've found out that the current version of GeographicLib has been compiled with a fairly old version of the GCC (4.9.2), yet the current compiler version of Buster is already 6.5.0:
pi@autoradio:
GCC: (Raspbian 4.9.2-10) 4.9.2
pi@autoradio:
g++ (Raspbian 6.5.0-1+rpi1+b1) 6.5.0 20181026
This apparently leads to linking trouble because the C++ 11 ABI has been introduced into the GCC in version 5.1, and type mangling isn't working properly.
Here are some details about my config:
pi@autoradio:~ $ uname -a
Linux autoradio 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
pi@autoradio:~ $ dpkg -s libc6 | grep ^Version
Version: 2.28-10+rpi1
NOTE: I have already filed this bug at RPi-distro, but the maintainers there said they were not responsible for this package.
So: Will anybody recompile the package in question with a GCC >= 5.1, or will I have to compile and pack it myself? Thank you.
Can you tell me exactly what version of libgeographic17 you have installed?