Page 1 of 1

error while loading shared libraries

Posted: Tue Mar 13, 2007 5:14 pm
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

Posted: Tue Mar 13, 2007 5:39 pm
by gopher
i solved another of my posts....
i had to put /usr/local/lib in /etc/ld.conf and run ldconfig