You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when installing with luarocks install https://raw.githubusercontent.com/soumith/lua---audio/master/audio-0.1-0.rockspec
Using https://raw.githubusercontent.com/soumith/lua---audio/master/audio-0.1-0.rockspec... switching to 'build' mode
Cloning into 'lua---audio'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 16 (delta 1), reused 8 (delta 0), pack-reused 0
Receiving objects: 100% (16/16), 156.86 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/greg/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/greg/torch/install/lib/luarocks/rocks/audio/0.1-0" && make
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /home/greg/torch/install
SOX_INCLUDE_DIR: /usr/include
SOX_LIBRARIES: /usr/lib/x86_64-linux-gnu/libsox.so
FFTW_INCLUDE_DIR: /usr/local/include
FFTW_LIBRARIES: /usr/local/lib/libfftw3.a
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/luarocks_audio-0.1-0-9939/lua---audio/build
Scanning dependencies of target audio
[ 25%] Building C object CMakeFiles/audio.dir/audio.c.o
Linking C shared module libaudio.so
/usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libfftw3.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libaudio.so] Error 1
make[1]: *** [CMakeFiles/audio.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.
The text was updated successfully, but these errors were encountered:
I'm getting the following error when installing with
luarocks install https://raw.githubusercontent.com/soumith/lua---audio/master/audio-0.1-0.rockspec
The text was updated successfully, but these errors were encountered: