I downloaded gnuradio source (3.5.0), read about reqs then started
installation process
./configure went fine and I run make
After 15min I got error about undefined references from FFT
I had installed ‘libfftw3’ and ‘libfftw3-dev’ 3.2.2 with Synaptic, but
have
no idea if provided packages fulfilled some requirements mentioned in
README: --enable-single --enable-shared configure options.
So I removed ‘libfftw3-dev’ and downloaded FFTW 3.3 source. Build it
with
mentioned switches with --prefix=$HOME/.local, so installation ended in:
I have all dependencies satisfied, only that make fails at fftw
Also I would not like to install gnuradio package, as I have some of it
dependencies installed from source (like scipy, numpy, wx…) which
aren’t
recognised by Synaptic, and similar complication
If you build fftw manually, please check if you configured it with
‘–enable-single --enable-shared’ otherwise, only the fixed-point
version will be built. Also, you can verify after installation via ‘ls
-l /usr/local/lib/libfftw*’. I assume you only see libfftw3.so not
libfftw3f.so, right? After you fixed that gnuradio should build as
expected.
Two things are missing, the linker command does not include the library
(i.e. -lfftw3f) and not the library path (-L/home/klonuo/.local/lib).
The latter is instead just appended to that last command which is wrong.
FFTW3F_LIBS should be something like this ‘-L$HOME/.local/lib -lfftw3f’
If you build fftw manually, please check if you configured it with
‘–enable-single --enable-shared’ otherwise, only the fixed-point
version will be built.
I did build fftw manually with noted switches as I wrote in my first
mail:
Thinking again maybe it worked not because of changes in
“/etc/ld.so.conf”
but because I run “ldconfig”
First time I tried to install gnuradio, I installed “libfftw-dev” and
some
other required packages (with Synaptic), but perhaps I needed to run
“ldconfig” afterwards for libfftw?
Two things are missing, the linker command does not include the library
(i.e. -lfftw3f) and not the library path (-L/home/klonuo/.local/lib).
The latter is instead just appended to that last command which is wrong.
FFTW3F_LIBS should be something like this ‘-L$HOME/.local/lib -lfftw3f’
Ah, that should be the problem then. Thanks for spotting it, I thought
just
absolute path was needed.
I’m trying something else right now (Debian/Ubuntu issue with
“/etc/ld.so.conf” as noted in gnuradio wiki) and it seem like it would
build fine, as it’s compiling almost half hour (libfftw error did not
show)
and report back shortly, for possible future reference to this problem
Cheers
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.