pkgsrc-Users archive

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

Re: cmake pkg path



On Fri, Sep 21, 2018 at 04:21:41PM +0100, Patrick Welche wrote:
> I'm failing to see why cmake can't find fftw:

according to work.log:

[*] cc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -Wno-unknown-pragmas -DCHECK_FUNCTION_EXISTS=fftwf_plan_r2r_1d -L/usr/pkg/lib -Wl,-R/usr/pkg/lib CMakeFiles/cmTC_b916e.dir/CheckFunctionExists.c.o -o cmTC_b916e -Wl,-rpath,/usr/pkg/lib /usr/pkg/lib/libfftw3f.so -lm
<.> /tmp/pkgsrc/biology/gromacs2k/work.x86_64/.gcc/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/include -Wno-unknown-pragmas -DCHECK_FUNCTION_EXISTS=fftwf_plan_r2r_1d -L/tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/lib -Wl,-rpath,/usr/pkg/lib CMakeFiles/cmTC_b916e.dir/CheckFunctionExists.c.o -o cmTC_b916e -Wl,-rpath,/usr/pkg/lib -lfftw3f -lm -D_FORTIFY_SOURCE=2 -fstack-protector

# ls -l /tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/lib/libfftw3.so*
lrwxr-xr-x  1 root  wheel  24 Sep 21 16:14 /tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/lib/libfftw3.so -> /usr/pkg/lib/libfftw3.so
lrwxr-xr-x  1 root  wheel  26 Sep 21 16:14 /tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/lib/libfftw3.so.3 -> /usr/pkg/lib/libfftw3.so.3
lrwxr-xr-x  1 root  wheel  30 Sep 21 16:14 /tmp/pkgsrc/biology/gromacs2k/work.x86_64/.buildlink/lib/libfftw3.so.3.5.8 -> /usr/pkg/lib/libfftw3.so.3.5.8

so still looks OK, yet

ld: cannot find -lfftw3f


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index