I'm not able to get any video with the zm-1.19.1 install. I can get zm-1.18.1 to work great but after install or upgrade to 1.19.1 I get two errors and no video. xawtv works fine. The capture daemon I can't seem to get to see the card or run.
I'm out of ideas. Any ideas would be helpfull,
Thankyou,
Cordel
RH 9
ZM-1.19.1
ffmpeg-0.4.8
Lame-3.95.1
pcre-4.5
perl-5.8.3
BTTV card, 4 port single chip
./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/bin/ffmpeg --with-lame=/usr/local/lib
finds and compiles everything no ERR's
<zmwatch.log>
Can't get shared memory id '2053971969': No such file or directory
{this error repeats on after the other}
<zmdc.log>
Server starting at 04/04/18 06:37:14
'zmc -d 1' started at 04/04/18 06:37:18
'zmc -d 1' starting at 04/04/18 06:37:18, pid = 3774
/usr/local/bin/zmc: error while loading shared libraries: libmp3lame.so.0: cannot open shared objec
t file: No such file or directory
'zmc -d 1' crashed at 04/04/18 06:37:18, exit status 127
'zmc -d 1' started at 04/04/18 06:37:18
/usr/local/bin/zmc: error while loading shared libraries: libmp3lame.so.0: cannot open shared objec
t file: No such file or directory
Can't find child with pid of '3777'
'zmc -d 1' starting at 04/04/18 06:37:18, pid = 3777
'zmc -d 0' starting at 04/04/18 06:37:18, pid = 3779
'zmc -d 0' started at 04/04/18 06:37:18
/usr/local/bin/zmc: error while loading shared libraries: libmp3lame.so.0: cannot open shared objec
t file: No such file or directory
'zmc -d 0' crashed at 04/04/18 06:37:18, exit status 127
'zmc -d 0' started at 04/04/18 06:37:18
/usr/local/bin/zmc: error while loading shared libraries: libmp3lame.so.0: cannot open shared objec
t file: No such file or directory
Can't find child with pid of '3780'
'zmc -d 0' starting at 04/04/18 06:37:18, pid = 3780
'zmfilter.pl -e -1' started at 04/04/18 06:37:19
/usr/local/lib
[root@mail1 lib]# ls -l
total 8920
-rw-r--r-- 1 root root 5828018 Apr 18 02:49 libavcodec.a
-rw-r--r-- 1 root root 2687982 Apr 18 02:49 libavformat.a
-rw-r--r-- 1 root root 299352 Mar 29 23:32 libmp3lame.a
-rwxr-xr-x 1 root root 804 Mar 29 23:32 libmp3lame.la
lrwxrwxrwx 1 root root 19 Mar 29 23:32 libmp3lame.so -> libmp3lame.so.0.0.0
lrwxrwxrwx 1 root root 19 Mar 29 23:32 libmp3lame.so.0 -> libmp3lame.so.0.0.0
-rwxr-xr-x 1 root root 277677 Mar 29 23:32 libmp3lame.so.0.0.0
drwxr-xr-x 2 root root 4096 Apr 18 02:49 vhook
<zmpkg.log>
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmfix'
/usr/local/bin/zmfix: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl status'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmc -d 1'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmc -d 0'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmfilter.pl -e -1'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmwatch.pl'
<top info>
3591 root 15 0 8700 8696 5996 S 0.0 1.6 0:46 0 httpd
3600 root 15 0 588 588 516 S 0.0 0.1 0:00 0 crond
3615 root 25 0 1052 1052 896 S 0.0 0.2 0:00 0 mysqld_safe
3701 xfs 15 0 5184 5184 912 S 0.0 1.0 0:00 0 xfs
3719 daemon 15 0 528 528 464 S 0.0 0.1 0:00 0 atd
3729 root 15 0 492 492 440 S 0.0 0.0 0:00 0 rhnsd
3754 apache 15 0 5436 5432 2020 S 0.0 1.0 0:00 0 zmdc.pl
3784 apache 15 0 11772 11M 2088 S 0.0 2.2 0:01 0 zmfilter.pl
3789 apache 15 0 4348 4344 1880 S 0.0 0.8 0:00 0 zmaudit.pl
3795 apache 15 0 4868 4864 1940 S 0.0 0.9 0:00 0 zmwatch.pl
3798 root 21 0 404 404 348 S 0.0 0.0 0:00 0 mingetty
3547 root 25 0 1496 1496 1252 S 0.0 0.2 0:00 0 sshd
error while loading shared libraries libmp3lame.so.0
issue resolved
Found the problem!
I left the defaults for the ./configure script.
This installed the binary in /usr/local/bin and the Libarary files in /use/local/lib
ZM is looking in /usr/lib for the library files.
So I reconfigured and installed the lame program with
./configure --prefix=/usr
and now all works great.
Cheers,
Cordel
I left the defaults for the ./configure script.
This installed the binary in /usr/local/bin and the Libarary files in /use/local/lib
ZM is looking in /usr/lib for the library files.
So I reconfigured and installed the lame program with
./configure --prefix=/usr
and now all works great.
Cheers,
Cordel
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi Cordel,
I think I got this issue originally as well if I recall.
Another solution you can do is edit /etc/ld.so.conf and add /usr/local/lib to the list of paths in there, and then run ldconfig to update the shared library paths. This then allows the dynamic loader to look in /usr/local/lib for shared libraries which was what wasn't happening in your case before.
However moving the libraryworks too!
Phil,
I think I got this issue originally as well if I recall.
Another solution you can do is edit /etc/ld.so.conf and add /usr/local/lib to the list of paths in there, and then run ldconfig to update the shared library paths. This then allows the dynamic loader to look in /usr/local/lib for shared libraries which was what wasn't happening in your case before.
However moving the libraryworks too!
Phil,