Opened 3 hours ago

#70996 new defect

pHash uses fftw without declaring a dependency and fails to link to it: Undefined symbols: _fftw_init_threads

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: pHash

Description

mv -f .deps/pHash.Tpo .deps/pHash.Plo
/bin/sh ../libtool  --tag=CXX   --mode=link ccache /usr/bin/g++-4.2  -pipe -Os -arch ppc -ffast-math -O3 -no-undefined -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -L/usr/local/lib -o libpHash.la -rpath /opt/local/lib pHash.lo audiophash.lo ph_fft.lo cimgffmpeg.lo  -lmpg123 -lsamplerate -lsndfile -lswscale -lavformat -lavutil -lavcodec   -lpng -ljpeg -lfftw3
libtool: link: ccache /usr/bin/g++-4.2 -dynamiclib  -o .libs/libpHash.0.dylib  .libs/pHash.o .libs/audiophash.o .libs/ph_fft.o .libs/cimgffmpeg.o   -L/opt/local/lib -lMacportsLegacySupport -L/usr/local/lib /opt/local/lib/libmpg123.dylib /opt/local/lib/libsamplerate.dylib /opt/local/lib/libsndfile.dylib -lswscale -lavformat -lavutil -lavcodec /opt/local/lib/libpng16.dylib -ljpeg /opt/local/lib/libfftw3.dylib  -Os -arch ppc -O3 -Wl,-headerpad_max_install_names -arch ppc   -install_name  /opt/local/lib/libpHash.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
Undefined symbols:
  "_fftw_init_threads", referenced from:
      __static_initialization_and_destruction_0(int, int)in pHash.o
      __static_initialization_and_destruction_0(int, int)in audiophash.o
      __static_initialization_and_destruction_0(int, int)in cimgffmpeg.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
  1. S. Also needs legacysupport for strnlen, at least.

Change History (0)

Note: See TracTickets for help on using tickets.