help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Thread safety of GLPK


From: Andrew Makhorin
Subject: Re: [Help-glpk] Thread safety of GLPK
Date: Sat, 24 Apr 2010 01:01:07 +0400

> After several from-scratch attempts, I get the following (probably
> simple) error from make LIBS=-lpthread:                    make[2]:
> Entering directory `/home/lowasser/glpk-4.43/examples #39;

> /bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2   -o glpsol
> glpsol.o ../src/libglpk.la -lpthread

> libtool: link: gcc -g -O2 -o .libs/glpsol glpsol.o
>  ../src/.libs/libglpk.so -lpthread                   

> ../src/.libs/libglpk.so: undefined reference to `sqrt #39;        
>                                          

Try LIBS='-lm -lpthread' . This must work.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]