Support and queries relating to all previous versions of ZoneMinder
williamberg
Posts: 7 Joined: Wed May 28, 2008 6:31 pm
Post
by williamberg » Fri May 30, 2008 10:51 am
see my shell:
Code: Select all
williamberg@ubuntu:~$ sudo bash
[sudo] password for williamberg:
root@ubuntu:~# export LD_LIBRARY_PATH=/opt/lib
root@ubuntu:~# /etc/init.d/zm start
Starting ZoneMinder: /usr/local/bin/zmfix: error while loading shared libraries: libswscale.so.0: cannot open shared object file: No such file or directory
failure
root@ubuntu:~# cd /opt/lib
root@ubuntu:/opt/lib# ls
libavcodec.a libavformat.so libpostproc.so.51
libavcodec.so libavformat.so.52 libpostproc.so.51.1.0
libavcodec.so.51 libavformat.so.52.14.0 libswscale.a
libavcodec.so.51.57.0 libavutil.a libswscale.so
libavdevice.a libavutil.so libswscale.so.0
libavdevice.so libavutil.so.49 libswscale.so.0.5.1
libavdevice.so.52 libavutil.so.49.6.0 pkgconfig
libavdevice.so.52.0.0 libpostproc.a vhook
libavformat.a libpostproc.so
root@ubuntu:/opt/lib#
PeterHoward
Posts: 319 Joined: Thu Jul 20, 2006 1:07 am
Location: Australia
Post
by PeterHoward » Mon Jun 02, 2008 2:14 am
I wish I could suggest something further here, but am largely stumped.
Could you send me the contents of your /etc/init.d/zm file? (I want to double check). Also, could you try running zmfix from the command line rather than the init script?
PJH
Ternitzer
Posts: 14 Joined: Sat Dec 02, 2006 10:20 pm
Post
by Ternitzer » Mon Jun 02, 2008 4:51 pm
I had the same problem.
You can run:
Once i did that it started working for me.
PeterHoward
Posts: 319 Joined: Thu Jul 20, 2006 1:07 am
Location: Australia
Post
by PeterHoward » Tue Jun 03, 2008 12:07 am
Ternitzer wrote: I had the same problem.
You can run:
Once i did that it started working for me.
I'd rather link them than copy them. But yes, that should work too.
(I'd still like to know why LD_LIBRARY_PATH isn't being picked up though . . . )
PJH