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

ArchLinux build error #3

Open
smoge opened this issue Apr 19, 2012 · 1 comment
Open

ArchLinux build error #3

smoge opened this issue Apr 19, 2012 · 1 comment

Comments

@smoge
Copy link

smoge commented Apr 19, 2012

I'm getting this error on an updated 64bit ArchLinux:

$ ./compile_linux_fftw_jack.sh 
/usr/bin/ld: /tmp/ccxnXlzq.o: undefined reference to symbol 'vorbis_block_init'
/usr/bin/ld: note: 'vorbis_block_init' is defined in DSO /usr/lib/libvorbis.so.0 so try adding it to the linker command line
/usr/lib/libvorbis.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
@AS383
Copy link

AS383 commented Jun 24, 2019

A same problems on ROSA Linux R11. The solution is add flags -lvorbis -logg -lz to gcc comand line in compile script:

g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp `fltk-config --cflags` \
 `fltk-config --ldflags`  -laudiofile -lz -lfftw3f -logg -lvorbis -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml -o $outfile

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

2 participants