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

Not compiling in Linux #60

Open
lgmventura opened this issue Jul 23, 2018 · 2 comments
Open

Not compiling in Linux #60

lgmventura opened this issue Jul 23, 2018 · 2 comments

Comments

@lgmventura
Copy link

lgmventura commented Jul 23, 2018

After installing all required dependencies on Ubuntu 18.04, including autoconf, libtool and FFTW using the instructions to cofigure it, Ladspa compilation stops on make. In the terminal I get:
/usr/bin/x86_64-linux-gnu-ld: /usr/local/lib/libfftw3f.a(assert.o): relocation R_X86_64_PC32 against symbol 'stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:1104: recipe for target 'mbeq_1197.la' failed
make[2]: *** [mbeq_1197.la] Error 1
make[2]: Verzeichnis „/media/luiz/Volume/Downloads/Audacity Plugins/ladspa-0.4.17“ wird verlassen
Makefile:1391: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Verzeichnis „/media/luiz/Volume/Downloads/Audacity Plugins/ladspa-0.4.17“ wird verlassen
Makefile:871: recipe for target 'all' failed
make: *** [all] Error 2

@atsampson
Copy link

It's trying to link against a static version of FFTW, rather than the shared version. If you built fftw from source yourself (you shouldn't need to do this, since Ubuntu has a perfectly good version!) then make sure you specify --enable-shared in its configure options.

@hugeblank
Copy link

I'm having this issue too.

you shouldn't need to do this, since Ubuntu has a perfectly good version!
I wish I knew about this before following the readme to a tee, ugh...

Regardless, @atsampson --enable-shared doesn't work, yields the same error.

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

3 participants