[Ubuntu] qgis 3.10.3: undefined reference to `openpty'

Angelos Tzotsos gcpp.kalxas at gmail.com
Wed Mar 18 01:50:37 PDT 2020


Hi Martin,

Sorry for the late reply.

For the QGIS 3.10 package I just used the files from DebianGIS without 
modification and it worked (on bionic).
Are you using the UbuntuGIS unstable packages to build right now?

About Salsa, yes, I need to find some time to get used to the process

Best,
Angelos

On 3/16/20 10:23 PM, Martin Landa wrote:
> Hi Angelos,
>
> first of all thanks for recent updates! There is already qgis 3.10.3
> uploaded, great. I just wonder how to compile it. My build fails with
>
> """
> : && /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/qgis-3.10.3+dfsg=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -O2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
> -DCHECK_FUNCTION_EXISTS=openpty  -Wl,-Bsymbolic-functions -Wl,-z,relro
> -Wl,-z,now   -rdynamic
> CMakeFiles/cmTC_1a093.dir/CheckFunctionExists.c.o  -o cmTC_1a093   &&
> :
> CMakeFiles/cmTC_1a093.dir/CheckFunctionExists.c.o: In function `main':
> /usr/share/cmake-3.10/Modules/CheckFunctionExists.c:17: undefined
> reference to `openpty'
> collect2: error: ld returned 1 exit status
> """
>
> Any idea? Thanks for feedback in advance. Martin
>
> PS: would be nice to collaborate :-)
> https://salsa.debian.org/debian-gis-team/qgis/-/tree/ubuntu/bionic
>


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos



More information about the Ubuntu mailing list