[CWB] Problems compiling cwb-3.4.22 on linux-64
Jörg Knappen
j.knappen at mx.uni-saarland.de
Thu May 12 17:10:55 CEST 2022
I tried to install cwb-3.4.22 from source on a brand-new Ubuntu 22.04
LTS system.
It stops at make all with the following error messages:
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libreadline.a(complete.o):
in function `rl_username_completion_function':
(.text+0x44d1): warning: Using 'getpwent' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libreadline.a(tilde.o):
in function `tilde_expand_word':
(.text+0x13e): warning: Using 'getpwnam' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o):
in function `g_get_user_database_entry':
(.text+0x287): warning: Using 'getpwuid' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libreadline.a(complete.o):
in function `rl_username_completion_function':
(.text+0x44c8): warning: Using 'setpwent' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/bin/ld: (.text+0x4569): warning: Using 'endpwent' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o):
in function `g_get_user_database_entry':
(.text+0xe0): warning: Using 'getpwnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/bin/ld: (.text+0x11e): warning: Using 'getpwuid_r' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:118: cqp] Error 1
make[1]: Leaving directory '/home/xxxxxx/cwb-source/cwb-3.4.22/cqp'
make: *** [Makefile:97: cqp] Error 2
Before that, there were a lot of messages like this one:
/usr/bin/ld: lex.yy.o:(.bss+0x2ac270): multiple definition of
`exit_cqp'; llquery.o:(.bss+0x2ac270): first defined here
I'm stuck here and do not know how to proceed.
Jörg Knappen
More information about the CWB
mailing list