discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] I can't get my gsl to link


From: Alan Corey
Subject: [Discuss-gnuradio] I can't get my gsl to link
Date: Thu, 5 Sep 2019 17:45:45 -0400

I think this is a low level problem, it gets through cmake and all
that, but when it gets down to make and ld I get:

[ 49%] Built target fft_qa_fft_shift
[ 49%] Linking CXX shared library libgnuradio-filter.so
/usr/bin/ld: error: cannot find -lgsl
/usr/bin/ld: error: cannot find -lgslcblas
collect2: error: ld returned 1 exit status
gr-fec/lib/CMakeFiles/gnuradio-fec.dir/build.make:824: recipe for target 'gr-fec
/lib/libgnuradio-fec.so.3.9.0.0-git' failed
make[2]: *** [gr-fec/lib/libgnuradio-fec.so.3.9.0.0-git] Error 1
CMakeFiles/Makefile2:4691: recipe for target 'gr-fec/lib/CMakeFiles/gnuradio-fec
.dir/all' failed
make[1]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 52%] Built target gnuradio-filter
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Yet ldconfig -p | grep gsl says
        libgslcblas.so.0 (libc6,AArch64) => /usr/local/lib/libgslcblas.so.0
        libgslcblas.so (libc6,AArch64) => /usr/local/lib/libgslcblas.so
        libgsl.so.25 (libc6,AArch64) => /usr/local/lib/libgsl.so.25
        libgsl.so (libc6,AArch64) => /usr/local/lib/libgsl.so

What's maybe odd is that ls -al | grep gsl in /usr/local/lib looks like this:
-rw-r--r--  1 root staff 22783350 Sep  3 21:19 libgsl.a
-rw-r--r--  1 root staff  1885346 Sep  3 21:19 libgslcblas.a
-rwxr-xr-x  1 root staff      949 Sep  3 21:19 libgslcblas.la
lrwxrwxrwx  1 root staff       20 Sep  3 21:19 libgslcblas.so ->
libgslcblas.so.0.0.0
lrwxrwxrwx  1 root staff       20 Sep  3 21:19 libgslcblas.so.0 ->
libgslcblas.so.0.0.0
-rwxr-xr-x  1 root staff  1121320 Sep  3 21:19 libgslcblas.so.0.0.0
-rwxr-xr-x  1 root staff      918 Sep  3 21:19 libgsl.la
lrwxrwxrwx  1 root staff       16 Sep  3 21:19 libgsl.so -> libgsl.so.25.0.0
lrwxrwxrwx  1 root staff       16 Sep  3 21:19 libgsl.so.25 -> libgsl.so.25.0.0
-rwxr-xr-x  1 root staff 12949992 Sep  3 21:19 libgsl.so.25.0.0

Only the symlinks to the real files end up in the ld.so cache,
ldfonfig doesn't pick up the actual files (libgsl.so.25.0.0 and
libgslcblas.so.0.0.0) at all.  That may not be important.
Are the permissions wrong?  They installed this way.

I installed gsl 2.6 from a tarball from http://ftp.gnu.org/gnu/gsl/, I
fetched Gnuradio by doing git clone --recursive
https://github.com/gnuradio/gnuradio.git



reply via email to

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