Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with libfftw3 with installing audio #4

Open
eulerreich opened this issue Aug 6, 2015 · 0 comments
Open

error with libfftw3 with installing audio #4

eulerreich opened this issue Aug 6, 2015 · 0 comments

Comments

@eulerreich
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant