Bill Allombert on Sat, 13 May 2023 00:10:16 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: library .tbss mismatches
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: library .tbss mismatches
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sat, 13 May 2023 00:05:29 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1683929123; c=relaxed/relaxed; bh=AvgcC9E4vSWO3d0bXp0o9y/rhQoBrKWEQJgirOm8bso=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=Q1VEhxGz5Jz3DIfG1a8D0uEPxWovCDjqACDLjTuH5A5pK8SiSLfMFRcaMzjgblcETpqMQ1J+Da3jnbm4xE/J1xK+Z0ga40fzGCzWlgpgmpD/wCTsACNpAYhmR2pFYe/XZ8wb6R1HjgURri/hayCGVvNPZpLAU6ZLYdtzWqc8av4I6ecylD0Xdlty/QftZeXEExpdkUcSZVvsjxe2CZ5t5X5In5+aT7VG6ygikWaozWTXrrt9nL37ERH1sCKGI3kPdWvSse12tUX7yNJEs8uUeQhG7ssKEfIOtSu2u7Az41P2rF06kigfkUvIZLa7mkhP4HYI1hJOZjMFzCOYTKSY75+ufj25Y9qjx6yU5eXG6WV6EpJkgIOgnI+0KQAp6OUvfRUeTa3GYTSdAd2kvVso7cR30JMJh8wQM4Qrb1ak83Tq1+bTsimt19cUZ/83a4LWpCwWQaMOCTpuLUD7hTd3Zm2jyQx+TBcXsIKyX5q3sM2Zg4FWBeWDegjf1nPFjT+zKwQAQgojxoAxXl90/cgRRlMWR+b/iHHmW5NLrHbvSYSDgSw4RkrkWD4oBAtCDAmrFztRthdPPanK0JH+ZQIRD4soJ+/Bq8FoadD0B4inrUzLIJjDEaANLSju6xejOGggfTr+rVZqhDChhogPVHA+I88K0F8mnHNxyKz/qxd9Lb0=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1683929123; cv=none; b=SM5nQ5Ap9TNIVEVAEOPcd3GzZZE/V2FJIGwKsqA51ByuiDYm+iFqHjvw98lgFStGwrJkBpQ6uDmD8syObMQakUJF9OdS0f5YpvuqsA3gbAxZhBquS/0Mf7X2KfygjCEi5LDJGTR9VD5gU/k8rcKE9JSwwQxJlIjUk+0tsbNHxpFV/77khcot+yGqZpSY+41gbq10Wql6+wWm9AkLiC1IqZptRt7vq7Rb7z5eRBhtInfw/wI7YPoGfeaV5ux5U1yAQI/vl6hU2+RemS/0zzs9PVK+AWrPaoTXzr33U8BSPVGd1KBLyGdqt+tqF8EHPZIza4+g6xsFT44XcN0CRiC+wBjcoL+pXL8xn5ePwtzdJF6d+eP3IVoPAfTk1OPqMFI2kPTYAolH3cvDpzSQWxlbeu1IFSEvW5erqM2Bdg+YgZNl7kgByfqBWBrKmUSLui1QrOm9sz1IvCHvucBwGFyQjh+nKM+9dmzgm/bIcyFcqvMpj0+oHUMB4mzrfbMcvFV2lpIX6jms88ZDwRMIL9uZzsDVxcjJxc6UTfEH+bBvLYVYJze/dcDh0WPRCXeVY8B4afZV8uF0VOVp9YQ3EVNUxnrAwD6fIvJveBIXSru1yS1hnI1AvLbX8ZDBZwiOVqEotwrLYA2RYhBoLl3PviSKjIRNgXKIVzQIhgjRdX5E65g=
- Authentication-results: smail; arc=none
- Delivery-date: Sat, 13 May 2023 00:10:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1683929123; bh=AvgcC9E4vSWO3d0bXp0o9y/rhQoBrKWEQJgirOm8bso=; h=Date:From:To:Subject:References:In-Reply-To:From; b=JpabU0O2EpXSX/jToIbAMESOeifm3lWE56oleXFD3aiYHTIFaxrrJ++dPYTrHSNHJ JGBNmr9ba1gcVzm7hiWfxH6W7EPLVSCe5TRGTGvd9SrDCavycSZbpAaEYakWiZ8aPl y0x/s1rTku+ajLexZDCyctICdtTuv6XueIxkp5+MTNQ3alcPZDyY034AVbMoA4cfDr nBcED3MPlJj/yDKScUGi9HKi2PI2AOR15JbXT3re8AgZhw5joRw7ou8bRf2c07BEtr 3Jeqp8oNlXgM4MdMAKzTvA1gZk3slP/Kn7GHTF1z6I/K0UDkRS1urRyZeO1u16/Aeu WE3GVUaoiPh/dZU8VnBljNKTYqEORUdFUnYHPEzjYgMXCEKv6gQkSr2K1ha8160k8y Je8jkuTnvkdjNwThnfDI0qFR5nwVshAyMKVsoOiT1Op+28dGORNyTlExsIKXbbZLI+ 0DJe1/gM/GmAna3syBAnxnJ5q6i1P9DjZVyyuTpeMvvwOfdbb0IWEzoIQl9EQog59d Zj51kEzN05sMjMhxxXiHOwt05oMRbCZY8m8HmV+4xNJj2r1Fcp9npeabI9Eliu82Cn fBDcHqa2P98x63jaEjQZ98S7eeXNfYXYmB2PiJKt6vjs3tF+lBB/7pOIqfxQGfO3wY LuCb+hSn1bRZ++VzyxBHp8rA=
- In-reply-to: <ZF6tqqnddn2Jqm6A@xiphias.gmarks.org>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <ZF2e9SlewBNnK+gw@xiphias.gmarks.org> <ZF4n/jJ/cy7fCPJb@seventeen> <ZF6tqqnddn2Jqm6A@xiphias.gmarks.org>
> $make TARGET=extgcd
> /usr/bin/gcc -c -O3 -Wall -ffp-contract=off -fno-strict-aliasing -I. -I/usr/local//include -fPIC extgcd.c
> /usr/bin/gcc -o extgcd -O3 -Wall -ffp-contract=off -fno-strict-aliasing -Wl,--export-dynamic extgcd.o -Wl,-rpath "/usr/local//lib" -lm -L/usr/local//lib -lpari
> /usr/bin/ld: /usr/local//lib/libpari.a(ispower.o): in function `logintall':
> ispower.c:(.text+0xa42): undefined reference to `log2'
> /usr/bin/ld: /usr/local//lib/libpari.a(ispower.o): in function `logint0':
> ispower.c:(.text+0x1453): undefined reference to `floor'
>
> [about 800 similar lines followed here]
>
> /usr/bin/ld: /usr/local//lib/libpari.a(polclass.o):polclass.c:(.text+0xb926): more undefined references to `log' follow
> /usr/bin/ld: /usr/local//lib/libpari.a(polclass.o): in function `polclass0':
> polclass.c:(.text+0xba0e): undefined reference to `sqrt'
> /usr/bin/ld: polclass.c:(.text+0xba18): undefined reference to `sqrt'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:49: extgcd] Error 1
> $cd ..
> $sudo make install-bin-sta
> $cd examples/
> $make TARGET=extgcd
>
> [same error messages]
As I understand, this is due to linking with libpari.a instead of libpari.so.
(in that case, you have to move -lm after -lpari).
Is /usr/local/lib/libpari.so a broken link ? What gives
ls -l /usr/local/lib/libpari.so ?
That would explain the error message at least.
> Anything else I might try?
Yes, follow the instruction in the installation manual, page 8.
Cheers,
Bill