opencv update

Mark Atkinson atkin901 at
Wed Dec 4 16:36:41 UTC 2013

Hash: SHA1

On 12/04/2013 05:33, Daniel Nebdal wrote:
> On Wed, Dec 4, 2013 at 2:10 PM, Ajtim <lumiwa at> wrote:
>> I did what is in /usr/ports/UPDATING and looks like I am in
>> trouble now. My system is FreeBSD 10.0-BETA4 (amd64):
>> ===>   FreeBSD 10 autotools fix applied to 
>> /usr/ports/multimedia/ffmpeg0/work/ffmpeg-0.7.16/configure ERROR:
>> opencv-core not found
>> If you think configure made a mistake, make sure you are using
>> the latest version from Git.  If the latest version fails, report
>> the problem to the ffmpeg-user at mailing list or IRC
>> #ffmpeg on Include the log file "config.log"
>> produced by configure as this will help solving the problem. ===>
>> Script "configure" failed unexpectedly. Please report the problem
>> to wg at [maintainer] and attach the 
>> "/usr/ports/multimedia/ffmpeg0/work/ffmpeg-0.7.16/config.err"
>> including the output of the failure of your make command. Also,
>> it might be a good idea to provide an overview of all packages
>> installed on your system (e.g. a /usr/local/sbin/pkg-static info
>> -g -Ea). *** Error code 1
>> Stop. make[1]: stopped in /usr/ports/multimedia/ffmpeg0 *** Error
>> code 1
>> Stop. make: stopped in /usr/ports/multimedia/ffmpeg0
>> ===>>> make failed for multimedia/ffmpeg0 ===>>> Aborting update
>> ===>>> Update for multimedia/ffmpeg0 failed ===>>> Aborting
>> update
>> ===>>> Killing background jobs Terminated ===>>> The following
>> actions were performed: Installation of graphics/opencv-core
>> (opencv-core-2.4.7) Upgrade of ffmpeg-2.1.1,1 to
>> ffmpeg-2.1.1_1,1
>> ===>>> You can restart from the point of failure with this
>> command line: portmaster <flags> multimedia/ffmpeg0 
>> graphics/gstreamer-plugins-opencv graphics/opencv
>> graphics/openimageio x11/xterm
>> Thank you. -- Mitja ------- 
> I ran into something like that when the relevant files were
> installed, but didn't work (missing symbols in something it was
> linked to, I believe). What does the config.err file say?

BEGIN /tmp/ffconf.h5eweeVe.c
    1   #include <opencv2/core/core_c.h>
    2   long check_cvCreateImageHeader(void) { return (long)
cvCreateImageHeader; }
    3   int main(void) { return 0; }
END /tmp/ffconf.h5eweeVe.c
- -O2 -pipe -march=native -msse -fno-strict-aliasing
- -I/usr/local/include/vorbis -I/usr/local/include -std=c99
- -fomit-frame-pointer -fPIC -I/usr/local/include/freetype2
- -I/usr/local/include -I/usr/local/include/opencv -I/usr/local/include
/usr/local/lib/ /usr/local/lib/
- -c -o /tmp/ffconf.KAxUBGTa.o /tmp/ffconf.h5eweeVe.c
cc: warning: /usr/local/lib/ 'linker' input unused
cc: warning: /usr/local/lib/ 'linker' input unused
cc -L/usr/local/lib -Wl,--as-needed -I/usr/local/include/opencv
- -I/usr/local/include /usr/local/lib/
/usr/local/lib/ -o /tmp/ffconf.OA02kgLA
/tmp/ffconf.KAxUBGTa.o -L/usr/local/lib -lfreetype -lm -lbz2 -lz -pthread
/tmp/ffconf.KAxUBGTa.o: In function `check_cvCreateImageHeader':
/tmp/ffconf.h5eweeVe.c:(.text+0x3): undefined reference to
cc: error: linker command failed with exit code 1 (use -v to see

$ nm -a /usr/local/lib/
nm: /usr/local/lib/ no symbols

$ nm -a /usr/local/lib/
nm: /usr/local/lib/ no symbols
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird -


More information about the freebsd-ports mailing list