Error loading libswscale.so.2 (CentOS)
Posted: Fri Aug 05, 2011 6:22 pm
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
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