[CWB] Problems compiling cwb-3.4.22 on linux-64
Jörg Knappen
j.knappen at mx.uni-saarland.de
Fri May 13 15:01:16 CEST 2022
Thank you, Stephanie, the install script for the RC version worked fine
and the Open Corpus Workbench is now running and tested on the new
server.
--Jörg Knappen
Am 2022-05-12 20:40, schrieb Stephanie Evert:
>> On 12 May 2022, at 17:10, Jörg Knappen <j.knappen at mx.uni-saarland.de>
>> wrote:
>>
>> 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.
>
> Don't try static linking. It hasn't dysfunctional on Linux for many
> years.
>
> BTW, you can find a much more up-to-date source code distribution here:
>
> https://sourceforge.net/projects/cwb/files/cwb/cwb-3.5-RC/
>
> It will be mentioned on the CWB homepage as soon as I find a little
> free time.
>
> Best,
> Stephanie
>
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
More information about the CWB
mailing list