tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lapack: undefined symbol pow_{ci,dd,di,hh,ii,ri,zi,zz}
On Wednesday 11 June 2008 18:19:18 Mark Davies wrote:
> On Wednesday 11 June 2008 19:27:07 Berndt Josef Wulf wrote:
> > It used to work but stopped after upgrading to pkgsrc-current.
> > I see pow_zi is part of libF77, but it doesn't appear in the
> > list of linked libraries;
> >
> > /usr/pkg/lib/liblapack.so:
> > -lc.12 => /usr/lib/libc.so.12
> >
> > Any ideas?
>
> Well I haven't tested this but I just stumbled over something
> similar with blas.
>
> What happens if you change the bit of lapack/patches/patch-aa
> that reads: + ${LIBTOOL} --mode=link --tag=CC ${FC} -o
> ../$(LAPACKLIB) \ + $(ALLOBJ:.o=.lo) -rpath ${PREFIX}/lib
> -version-info 3:0
>
> to read:
> + ${LIBTOOL} --mode=link --tag=F77 ${FC} -o ../$(LAPACKLIB)
> \ + $(ALLOBJ:.o=.lo) -rpath ${PREFIX}/lib -version-info 3:0
>
> ie change the --tag from CC to F77 otherwise ld is used to link
> the library and the fortran support libraries aren't linked in.
>
> cheers
> mark
BTW: The binary package as downloaded from ftp.netbsd.org suffers
from the same problem.
cheerio Berndt
- References:
- lapack: undefined symbol pow_{ci,dd,di,hh,ii,ri,zi,zz}
- Re: lapack: undefined symbol pow_{ci,dd,di,hh,ii,ri,zi,zz}
Home |
Main Index |
Thread Index |
Old Index