Bill Allombert on Sat, 13 May 2023 13:01:32 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: library .tbss mismatches


On Fri, May 12, 2023 at 06:25:33PM -0500, Greg Marks wrote:
> I thought I had done that.  The instructions on page 8 of the 02/06/2021
> document "Compiling PARI from the GIT repository" read:
> 
> ./Configure --prefix=GPDIR --mt=pthread
> make -j4 gp 
> make doc
> make statest-all
> make install
> make install-bin-sta

Ah sorry, I should have told you to stop here, otherwise you install the debugging version,
and the instruction for the debugging version is missing the line:

make -C Olinux-x86_64.dbg install-lib-dyn
needed for the examples Makefile.

I have updated the installation manual...

However to come back to you initial question, about
 "gcc -Wall -O3 -o extgcd extgcd.c -lpari"

I suggest that you remove every pari files or directory in /usr/local/lib,
/usr/local/include, /usr/local/share and check your environment variables (use
'env') for anything suspicious.

Cheers,
Bill.