error while loading shared libraries

Support and queries relating to all previous versions of ZoneMinder
Locked
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

error while loading shared libraries

Post by gopher »

trying to start zm ver 1.22.2
/usr/local/bin/zmfix: error while loading shared libraries: libavformat.so.51: cannot open shared oject file: No such file or directory


but

# locate libavformat.so.51
/usr/local/lib/libavformat.so.51
/usr/local/lib/libavformat.so.51.10.0

my configure is


./configure --with-webdir=/var/www/html --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --with-ffmpeg=/usr/local/lib


any ideas whats wrong ?? thanks
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Post by gopher »

i solved another of my posts....
i had to put /usr/local/lib in /etc/ld.conf and run ldconfig
Locked