<p dir="ltr"><br>
Il 19/dic/2013 09:34 "Andreas Tille" <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>> ha scritto:<br>
><br>
> Hi,<br>
><br>
> On Mon, Dec 09, 2013 at 06:16:41PM +0100, Gert Wollny wrote:<br>
> > here the configure script claims that f2c is added anyway:<br>
> ><br>
> > >   [AC_MSG_RESULT(not found, trying to use -lf2c anyway.)]<br>
> ><br>
> > but then it does this (and the patch doesn't touch that line):<br>
> ><br>
> > >   LDFLAGS="${LDFLAGS}"<br>
> ><br>
> > which should read (just like the in the BLAS test below)<br>
> ><br>
> >   LDFLAGS="${LDFLAGS} -lf2c"</p>
<p dir="ltr">Not needed to do explicitly because the patch fixes the test for libf2c.<br></p>
<p dir="ltr">> I tested the proposed "ugly_fix.patch" which leads to the following<br>
> build log snippets:<br>
><br>
> ...<br>
> checking for gmp.h... yes<br>
> checking for f77_alloc_ in -lf2c... no<br>
> checking for f77_alloc in -lf2c... no<br>
> checking for F77_ALLOC_ in -lf2c... no<br>
> checking for F77_ALLOC in -lf2c... no<br>
> checking for f_open in -lf2c... yes<br>
> checking for daxpy_ in -lblas... yes<br>
> checking for dlarnv_ in -llapack... yes<br>
> ...<br>
> ...<br>
>   Use internal F2C       -- no<br>
> ...<br>
> ...<br>
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/libxml2  -Wl,-z,relro -lgmp -lblas -llapack -larpack -lglpk - o <a href="http://libplfit.la">libplfit.la</a>  error.lo gss.lo kolmogorov.lo lbfgs.lo options.lo plfit.lo zeta.lo  -larpack -llapack -lblas -lf2c<br>

> ...<br>
> ...<br>
> dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libigraph0/usr/lib/x86_64-linux-gnu/libigraph.so.0.0.0 was not linked against libf2c.so.2 (it uses none of the library's symbols)<br>
> ...</p>
<p dir="ltr">This is probably true. There is no FORTRAN code in libigraph. Why linking to f2c?<br>
I did not investigate the problem further in March, and I still am not able to allocate enough time to help on this issue now.</p>
<p dir="ltr">Bests,<br>
Giulio.</p>