[Phash-support] Phash on Mac OS X
eklinger at phash.org
Wed Dec 23 09:13:56 PST 2009
Can you please locate the libavcodec.so library on your system and run:
strings libavcodec.so|grep avcodec_alloc_frame
If that string is present, please also make sure the library is in a
standard system path where the linker can find it. In Linux this is
usually /usr/lib or /usr/local/lib, although the latter requires a
change to /etc/ld.so.conf to recognize libraries in /usr/local/lib.
On Wed, Dec 23, 2009 at 8:14 AM, Sebastian Gallese
<sebastiangallese at gmail.com> wrote:
> I'm having trouble compiling Phase 0.7.1 on Mac OS X 10.5.8
> Please excuse me if I'm missing something obvious.
> I first installed FFMpeg from MacPorts. I then downloaded CImg 1.3.2 and
> placed CImg.h and the plugins and resources folders inside the Phase 0.7.1
> Upon compiling, I was then prompted to install FFMpeg. I figured the path
> that MacPort installs to can be funky, so I just downloaded the FFMpeg
> source and installed it from the GIT code. While compiling, the program
> returned the output below.
> If you need any more information about where things are installed or output,
> I'll post it to the list-serv.
> It looks like people have had problems compiling with Mac OS X in the past.
> I'd be happy to try to resolve this issue, but I can also move to a Windows
> machine or install a flavor of Linux if you think that might be easier to
> get this to work.
> Any help is great!
> I received the following error:
> checking whether the gcj linker
> (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
> checking how to hardcode library paths into programs... immediate
> *** Configuring image hash ***
> checking CImg.h usability... no
> checking CImg.h presence... no
> checking for CImg.h... no
> checking whether CImg.h is in the current or src directory.... yes
> *** Configuring video Hash ***
> checking whether FFmpeg is present... checking for avcodec_alloc_frame in
> -lavcodec... no
> configure: error:
> *** libavcodec not found.
> You need FFmpeg. Get it at <http://ffmpeg.org/>
> pHash-support mailing list
> pHash-support at lists.phash.org
More information about the pHash-support