- you probably only need to add "--trace" (without quotes) to the edit box
is this the output you are after? my apologies for it being so long, you'll see i needed to trim it before the forum software would let me post it!
i'm thinking more again about a 'fake'
libc.so,
no functioning code (or just stubs if needsbe) but the necessary symbols to keep the linker happy. one could then within it have defined the necessary minimum version numbers to match the requirements of your project.
i can see (in a warped way) why the linker enforces the minimum versions - it is saying "i can build your project on
this machine, but can not be sure the build will run on an older one. i am also assuming that YOU are going to fully test the code i've just built to make sure that everything works fully on
this machine".
what the linker does NOT know, however, is the minimum versions are for the
your project it has just built. for instance, it might be imposing
dlopen@GLIBC_2.34 based upon data it has gleaned from
libc.so, but
your project may only be making use of
dlopen functionality that has been present since the 2.1.0 version.
hence, while there is some rationale behind what the linker is doing, it is acting on incomplete information and it's strategy is flawed.
btw: in the 'Wonderful World of Windows' - where i lived for many years but finally abandoned around 5 years ago - this problem is handled by every documented library call having a revision history, where history markers may be '2000', 'XP', 'XP SP3', '7', etc. when coding to use any library function, one just checks the level of functionality available at your minimum target level and make sure to not use any later functionality.
cheers,
rob :-)
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling project1.lpr
(3104) Compiling unit1.pas
(3104) Compiling unit2.pas
[...]
(3104) Compiling unit3.pas
[...]
(3104) Compiling unit4.pas
[...]
(3104) Compiling unit5.pas
[...]
(9022) Compiling resource /home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/project1.or
(9015) Linking /home/user/pascal/GFXterm 2.1c/project1
/usr/lib/x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/si_c.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/abitag.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/project1.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/project1.or
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/system.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/fpintres.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/objpas.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/cthreads.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/interfaces.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/forms.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/unit1.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/linux.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/unixcp.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2disableliboverlay.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2int.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/classes.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/x11/x.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/gtk2/gdk2x.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/gtk2/pango.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazfileutils.o
[...]
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazstringutils.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/dialogs.o
[...]
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lcltype.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/graphtype.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/graphmath.o
[...]
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2msgqueue.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/x11/xrender.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/cairo/cairo.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/gtk2/atk.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazutilsstrconsts.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/fpcadds.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl-objpas/strutils.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/gettext.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazclasses.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazmethodlist.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/laz_avl_tree.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/fgl.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/laztracer.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazutilities.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lresources.o
[...]
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lcltaskdialog.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/uitypes.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/fileutil.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl-objpas/variants.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazconfigstorage.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/dynqueue.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazutf8classes.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl-objpas/varutils.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/avglvltree.o
[...]
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazsysutils.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpimage.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/intfgraphics.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpreadbmp.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fptiffcmn.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lclversion.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/icnstypes.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpimgcmn.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/pngcomn.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/paszlib/zstream.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/paszlib/zbase.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/paszlib/gzio.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/hash/crc.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/paszlib/zdeflate.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/paszlib/inffast.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazversion.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/contnrs.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpcanvas.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/fpreadgif.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lclrescache.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsreferences.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/clipping.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/pasjpeg/jpeglib.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/pasjpeg/jfdctflt.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/syncobjs.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/tmschema.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/masks.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-process/process.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-process/pipes.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/termio.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/custapp.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/customtimer.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/actnlist.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/helpintfs.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/imglist.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/singleinstance.o
[...]
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-image/ellipses.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsimglist.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsproc.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsfactory.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/propertystorage.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/rttiutils.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsmenus.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazlogger.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/chm/fasthtmlparser.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsforms.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/imagelistcache.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/textstrings.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/extendedstrings.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsstdctrls.o
[...]
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wstoolwin.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/gtk2/gtk2ext.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/extdlgs.o
[...]
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/lclmemmanager.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsprivate.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-base/uriparser.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wscontrols.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lazlinkedlist.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsfactory.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsstdctrls.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wschecklst.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2themes.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/spin.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/grids.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/pairsplitter.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsspin.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/fcl-xml/htmldefs.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/maskedit.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/dynamicarray.o
[...]
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/laz2_xmlutils.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wsgrids.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/wspairsplitter.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsbuttons.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wscalendar.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wscomctrls.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsdialogs.o
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/cthreads.o: in function `CTHREADS_$$_LOADPTHREADS$$BOOLEAN':
cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0xe): undefined reference to `dlopen'
/usr/bin/ld: cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0x34): undefined reference to `dlsym'
/usr/bin/ld: cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0x4e): undefined reference to `dlsym'
/usr/bin/ld: cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0x68): undefined reference to `dlsym'
/usr/bin/ld: cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0x82): undefined reference to `dlsym'
/usr/bin/ld: cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0x9c): undefined reference to `dlsym'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/cthreads.o:cthreads.pp:(.text.n_cthreads_$$_loadpthreads$$boolean+0xb6): more undefined references to `dlsym' follow
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/cthreads.o: in function `CTHREADS_$$_UNLOADPTHREADS$$BOOLEAN':
cthreads.pp:(.text.n_cthreads_$$_unloadpthreads$$boolean+0xd): undefined reference to `dlclose'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dl.o: in function `DL_$$_UNIXGETMODULEBYADDR$POINTER$POINTER$OPENSTRING':
dl.pp:(.text.n_dl_$$_unixgetmodulebyaddr$pointer$pointer$openstring+0x39): undefined reference to `dladdr'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dynlibs.o: in function `DYNLIBS_$$_SYSLOADLIBRARYA$RAWBYTESTRING$$INT64':
dynlibs.pas:(.text.n_dynlibs_$$_sysloadlibrarya$rawbytestring$$int64+0x17): undefined reference to `dlopen'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dynlibs.o: in function `DYNLIBS_$$_SYSGETPROCEDUREADDRESS$INT64$ANSISTRING$$POINTER':
dynlibs.pas:(.text.n_dynlibs_$$_sysgetprocedureaddress$int64$ansistring$$pointer+0x12): undefined reference to `dlsym'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dynlibs.o: in function `DYNLIBS_$$_SYSUNLOADLIBRARY$INT64$$BOOLEAN':
dynlibs.pas:(.text.n_dynlibs_$$_sysunloadlibrary$int64$$boolean+0x6): undefined reference to `dlclose'
/usr/bin/ld: /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dynlibs.o: in function `DYNLIBS_$$_SYSGETLOADERRORSTR$$SHORTSTRING':
dynlibs.pas:(.text.n_dynlibs_$$_sysgetloaderrorstr$$shortstring+0xd): undefined reference to `dlerror'
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsextctrls.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsextdlgs.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsforms.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsgrids.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsimglist.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsmenus.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wsspin.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2wspairsplitter.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/unitywsctrls.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2cellrenderer.o
/usr/share/lazarus/2.0.12/lcl/units/x86_64-linux/gtk2/gtk2listviewtreemodel.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/unit2.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/unit3.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/unit4.o
/home/user/pascal/GFXterm 2.1c/lib/x86_64-linux/unit5.o
/usr/share/lazarus/2.0.12/components/lazutils/lib/x86_64-linux/lconvencoding.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/dos.o
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/strings.o
/usr/lib/x86_64-linux-gnu//libpthread.a
/usr/lib/x86_64-linux-gnu//libasound.so
/usr/lib/x86_64-linux-gnu//libdl.a
/usr/lib/x86_64-linux-gnu//libgdk-x11-2.0.so
/usr/lib/x86_64-linux-gnu//libX11.so
/usr/lib/x86_64-linux-gnu//libgdk_pixbuf-2.0.so
/usr/lib/x86_64-linux-gnu//libgtk-x11-2.0.so
/usr/lib/x86_64-linux-gnu//libgobject-2.0.so
/usr/lib/x86_64-linux-gnu//libglib-2.0.so
/usr/lib/x86_64-linux-gnu//libgthread-2.0.so
/usr/lib/x86_64-linux-gnu//libgmodule-2.0.so
/usr/lib/x86_64-linux-gnu//libpango-1.0.so
/usr/lib/x86_64-linux-gnu//libcairo.so
/usr/lib/x86_64-linux-gnu//libatk-1.0.so
./libc.so
/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o
/usr/lib/x86_64-linux-gnu/crtn.o
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `lstat64@GLIBC_2.33'
/usr/bin/ld: /lib/x86_64-linux-gnu/libmount.so.1: undefined reference to `fstatat@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_trywrlock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_wrlock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dlinfo@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_mutexattr_init@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `fcntl64@GLIBC_2.28'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `stat64@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_create@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `close_range@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `lstat@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dlclose@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_tryrdlock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_detach@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_setname_np@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_key_delete@GLIBC_2.34'
/usr/bin/ld: /lib/x86_64-linux-gnu/libselinux.so.1: undefined reference to `gettid@GLIBC_2.30'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dlsym@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_unlock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_setspecific@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dlopen@GLIBC_2.34'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `statx@GLIBC_2.28'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `fstat64@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_init@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_sigmask@GLIBC_2.32'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dlerror@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_getspecific@GLIBC_2.34'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `dn_expand@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_mutex_trylock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_mutexattr_destroy@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_attr_setstacksize@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_join@GLIBC_2.34'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `res_nquery@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_mutexattr_settype@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_rdlock@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `stat@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `fstat@GLIBC_2.33'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `pthread_once@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dladdr@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_rwlock_destroy@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libglib-2.0.so: undefined reference to `pthread_key_create@GLIBC_2.34'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libasound.so: undefined reference to `dladdr1@GLIBC_2.34'
/home/user/pascal/GFXterm 2.1c/project1.lpr(24,1) Error: (9013) Error while linking
/home/user/pascal/GFXterm 2.1c/project1.lpr(24,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode