Page 1 of 1

compiling par2cmdline tbb

Posted: August 29th, 2012, 5:41 am
by japiedebaap
Hi everyone, I am trying to get all the dependencies for sabnzbd in order, but I'm stuck at compiling par2cmdline-0.4-tbb-20100203.
Although this is not a par2cmdline forum, I'm hoping that someone here will be able to help me out, and this topic won't get deleted.

Running ./configure works, but make fails with the following error

Code: Select all

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: par2creator.o: undefined reference to symbol 'aio_suspend@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'aio_suspend@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [par2] Error 1
I've tried quite a few approaches, but none have been of much use to me.

My system is a 64bit openSuSE 12.1, and there are no precompiled packages for par2cmdline-tbb

you can find par2-tbb here.

Re: compiling par2cmdline tbb

Posted: August 29th, 2012, 6:06 am
by japiedebaap
well, I had one more idea how to fix this, and it seems to have worked:

running things as follows does the trick (for me):

Code: Select all

LIBS="-lrt $LIBS" ./configure
make
make install