zm:1.24.4
OS: CentOS 5.3/5.6/6.0
I've been through this install process probably 25 times now, and I cannot figure out what I'm doing wrong. I've tried this on different versions of CentOS, even specifically 5.3 as specified in the zm wiki for a standard install on CentOS.
Basically, the install works FLAWLESSLY, until I go to start the zm service. Then I get this:
[root@custsvc1 ffmpeg]# service zm start
Starting ZoneMinder: /usr/local/bin/zmfix: error while loading shared libraries: libswscale.so.2: cannot open shared object file: No such file or directory
The link to the file is there, and the file is there. I've tried everything I know. selinux is disabled, I set the permissions on these files to 777 just to be sure... I'm just not sure what to do next to get this to work. I'm guessing it's ffmpeg related. Googling to find an error specific to this file, returns almost zero results.
I'm not kidding when I say I've done this like 20 times.... WTF am I doing wrong??
Current system I'm working with is a fresh install of CentOS 5.6, and I followed the instructions on this page to a T:
http://www.zoneminder.com/wiki/index.php/CentOS
I checked all logs. apache access logs show nothing. zm error logs aren't even created yet.
apache error log shows this:
Aug 5 12:23:05 custsvc1 zmpkg[16288]: ERR [Unable to run "sudo -u apache /usr/local/bin/zmfix", output is ""]
running the full command in quotes above, produces the same error of not finding libswscale.so.2
Error loading libswscale.so.2 (CentOS)
Re: Error loading libswscale.so.2 (CentOS)
Figured this out on my own. Seems that ffmpeg 0.8.1 is not compatible with this version of zoneminder. I went back to 0.6.3 and it works.
Re: Error loading libswscale.so.2 (CentOS)
Hmmm.. I'm running Fedora 14 and ffmpeg 0.8 and I'm running..
However, I did make some changes to configure.ac so that it would configure properly... these issues didn't stop me from installing ZM, but did lead to issues with ffmpeg once ZM was installed.. there was a problem with the folder paths configure was looking to validate ffmpeg files were installed...
jbmia
However, I did make some changes to configure.ac so that it would configure properly... these issues didn't stop me from installing ZM, but did lead to issues with ffmpeg once ZM was installed.. there was a problem with the folder paths configure was looking to validate ffmpeg files were installed...
jbmia