Bill Allombert on Tue, 07 Mar 2017 14:32:05 +0100


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

Re: Install gp2c on Mac OS X El Capitan


On Tue, Mar 07, 2017 at 12:58:01PM +0100, Ulf Kuehn wrote:
> Hi,
> unfortunally i'm unable to install gp2c on my mac, it seems to be related to
> the error message
> 
> ld: illegal thread local variable reference to regular symbol  ....

This means gp2c is mixing the pthread version with the single-threaded version
somehow.

Make sure gp2c is using the pari.cfg file for the installed version.

> (similar OS X errors are reported here
> https://github.com/gambit/gambit/issues/109)
> 
> There are no errors with configure and with make there is just 1 warning
> Running test traditional
> Testing script affect...ld: illegal thread local variable reference to regular symbol _PARI_SIGINT_block for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> FAIL scripts/runtest (exit status: 1)

Cheers,
Bill.