Make and make install run fine, yet upon starting zoneminder i get the following error:
Code: Select all
Starting ZoneMinder: /usr/local/bin/zmfix: relocation error: /usr/local/lib/libavcore.so.0: symbol av_get_random_seed, version LIBAVUTIL_50 not defined in file libavutil.so.50 with link time reference
failure
Code: Select all
root@ctx:/usr/src/zm# ldd `which ffmpeg`
linux-gate.so.1 => (0xb76e9000)
libavdevice.so.52 => /usr/local/lib/libavdevice.so.52 (0xb76dd000)
libavfilter.so.1 => /usr/local/lib/libavfilter.so.1 (0xb76c1000)
libavformat.so.52 => /usr/local/lib/libavformat.so.52 (0xb75d4000)
libavcodec.so.52 => /usr/local/lib/libavcodec.so.52 (0xb6afc000)
libswscale.so.0 => /usr/local/lib/libswscale.so.0 (0xb6ac1000)
libavcore.so.0 => /usr/local/lib/libavcore.so.0 (0xb6abb000)
libavutil.so.50 => /usr/local/lib/libavutil.so.50 (0xb6aa1000)
libm.so.6 => /lib/libm.so.6 (0xb6a74000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb6a5a000)
libc.so.6 => /lib/libc.so.6 (0xb68fd000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb68eb000)
libz.so.1 => /lib/libz.so.1 (0xb68d6000)
libx264.so.112 => /usr/local/lib/libx264.so.112 (0xb67ea000)
/lib/ld-linux.so.2 (0xb76ea000)
Code: Select all
CXXFLAGS=-D__STDC_CONSTANT_MACROS ZM_SSL_LIB=openssl ./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib.cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-mmap=yes ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-ffmpeg=/usr/local/bin
Google doesn't help me much this time
Any suggestions ?