[MacPorts] #70996: pHash uses fftw without declaring a dependency and fails to link to it: Undefined symbols: _fftw_init_threads
MacPorts
noreply at macports.org
Mon Sep 30 09:14:07 UTC 2024
#70996: pHash uses fftw without declaring a dependency and fails to link to it:
Undefined symbols: _fftw_init_threads
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: pHash
--------------------------+--------------------
{{{
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
}}}
P. S. Also needs legacysupport for strnlen, at least.
--
Ticket URL: <https://trac.macports.org/ticket/70996>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list