ERROR: rubberband >= 1.8.1 not found using pkg-config

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ERROR: rubberband >= 1.8.1 not found using pkg-config

桃源老師-2
Hello ffmpeg experts,

I can't build ffmpeg with rubberband.   The error appeared on console is "ERROR: rubberband >= 1.8.1 not found using pkg-config".
I'm on macOS High Sierra.
Here's seems to error portion of ffbuild/config.log.

gcc -L/Volumes/ffmpeg_compile/lib -lc++ -Wl,-dynamic,-search_paths_first -I/Volumes/ffmpeg_compile/include -L/Volumes/ffmpeg_compile/lib -o /var/folders/qn/tqwy6z3j5nj4rfcwc198_7sw0000gn/T//ffconf.PlWioPrY/test /var/folders/qn/tqwy6z3j5nj4rfcwc198_7sw0000gn/T//ffconf.PlWioPrY/test.o -lrubberband -lstdc++
Undefined symbols for architecture x86_64:
  "_vDSP_create_fftsetup", referenced from:
      RubberBand::FFTs::D_VDSP::initFloat() in librubberband.a(FFT.o)
  "_vDSP_create_fftsetupD", referenced from:
      RubberBand::FFTs::D_VDSP::initDouble() in librubberband.a(FFT.o)
  "_vDSP_ctoz", referenced from:
(SNIP)

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: rubberband >= 1.8.1 not found using pkg-config

How can I solve this issue?  Please Please Help me!!


// Miya aka. TougenRoushi


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ERROR: rubberband >= 1.8.1 not found using pkg-config

Moritz Barsnick
On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ERROR: rubberband >= 1.8.1 not found using pkg-config

This librubberband has a dependency on libvdsp (or whatever it is
called), but apparently, the pkg-config file (rubberband.pc) does not
reflect this. You may need to fix rubberband.pc. I don't think setting
"--extra-ldflags" on the ffmpeg command line would help.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ERROR: rubberband >= 1.8.1 not found using pkg-config

桃源老師-2
Hello, Moritz-san,

> 2018/05/15 午前0:10、Moritz Barsnick <[hidden email]>のメール:
>
> On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> ERROR: rubberband >= 1.8.1 not found using pkg-config
>
> This librubberband has a dependency on libvdsp (or whatever it is
> called), but apparently, the pkg-config file (rubberband.pc) does not
> reflect this. You may need to fix rubberband.pc. I don't think setting
> "--extra-ldflags" on the ffmpeg command line would help.
Thank you very much.  I noticed this error means vdsp functions themselves
can't call, but don't know how should I fix it.

By adding "-framework Accelerate" to Libs line in rubberband.pc, the error have gone!!
(On macOS, vdsp functions are defined in Accelerate.framework)

- Libs: -L${libdir} -lrubberband
+ Libs: -L${libdir} -lrubberband -framework Accelerate

I'm so happy!!!

P.S.
I have tested rubberband function as follows:
./ffplay -i ~/Movies/test.mp4 -af rubberband=tempo=2

It's fun!!!


Best Regards,


// Miya aka. TougenRoushi


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

smime.p7s (5K) Download Attachment