JohnCremona / eclib

The eclib package includes mwrank (for 2-descent on elliptic curves over Q) and modular symbol code used to create the elliptic curve database.
GNU General Public License v2.0
21 stars 15 forks source link

Install missing header #42

Closed antonio-rojas closed 6 years ago

JohnCremona commented 6 years ago

Thanks.

JohnCremona commented 6 years ago

I'm still getting errors with "make distcheck" and should fix these too and make a new release (with no actual code changes). But I don't know how to fix it and would appreciate help from anyone out there:

/bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=gnu++11  -g -O2  -lpthread    -o solve_conic solve_conic.o  ../libsrc/libec.la  -lpari -lntl   
libtool: link: g++ -std=gnu++11 -g -O2 -o .libs/solve_conic solve_conic.o  -lpthread ../libsrc/.libs/libec.so -lpari -lntl -Wl,-rpath -Wl,/home/jec/eclib/eclib-20180727/_inst/lib
//usr/local/lib/libntl.so: undefined reference to `pthread_key_create'
//usr/local/lib/libntl.so: undefined reference to `pthread_setspecific'
collect2: error: ld returned 1 exit status
saraedum commented 6 years ago

@JohnCremona I just had a look but make distcheck works fine for me actually.

isuruf commented 6 years ago

You probably need -lpthread at the end in the following g++ -std=gnu++11 -g -O2 -o .libs/solve_conic solve_conic.o -lpthread ../libsrc/.libs/libec.so -lpari -lntl -Wl,-rpath -Wl,/home/jec/eclib/eclib-20180727/_inst/lib