Libpcre.so.0 probs and broken image

Support and queries relating to all previous versions of ZoneMinder
Locked
CTR_Mint
Posts: 23
Joined: Mon Feb 21, 2005 11:07 pm

Libpcre.so.0 probs and broken image

Post by CTR_Mint »

Hi All,
After a break from this, I'm back and still having probs.
Done a fresh install, and cant get around the broken image issue and a lib error as shown
Other than that, cam is green etc, so it seems to be working,,
[root@amd64 tmp]# more /var/log/zm/zmdc.log
Server starting at 05/03/26 23:18:18
'zmc -d 0' started at 05/03/26 23:18:21
/usr/lib/zm/bin/zmc: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
Can't find child with pid of '12993'
'zmc -d 0' starting at 05/03/26 23:18:21, pid = 12993
'zma -m 1' started at 05/03/26 23:18:21
/usr/lib/zm/bin/zma: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
Can't find child with pid of '12996'
'zma -m 1' starting at 05/03/26 23:18:21, pid = 12996
'zmfilter.pl' started at 05/03/26 23:18:21
'zmfilter.pl' starting at 05/03/26 23:18:21, pid = 12999
'zmaudit.pl -d 900 -y' started at 05/03/26 23:18:22
'zmaudit.pl -d 900 -y' starting at 05/03/26 23:18:22, pid = 13003
'zmwatch.pl' started at 05/03/26 23:18:22
'zmwatch.pl' starting at 05/03/26 23:18:22, pid = 13008
'zmupdate.pl -c' started at 05/03/26 23:18:22
'zmupdate.pl -c' starting at 05/03/26 23:18:22, pid = 13012

Although the requested file is present as shown

[root@amd64 tmp]# find / -name libpcre.so.0
/lib64/libpcre.so.0
/usr/local/lib/libpcre.so.0

Any ideas, its already driving me nutts and i so want to get this working as it looks great!
Here is my ld.so.conf incase you need it
[root@amd64 tmp]# more /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/X11R6/lib64
/usr/local/lib
/usr/lib64/mysql
/usr/lib
/usr/lib64
CTR_Mint
Posts: 23
Joined: Mon Feb 21, 2005 11:07 pm

Post by CTR_Mint »

has nobody come across this problem ?
:shock:
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Are you running an AMD 64 bit processor?? What s the hardware and software config?
There may be some code that you need to add so that the file lib64 is included. Try symlinking it to just /usr/lib and so if that works for now.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I assume you've rerun ldconfig?

It might be worth just creating some basic program that tries to link with libpcre.a and seeing if that also displays the behaviour. We need to pin down exactly what it is that is broken.

Phil
mahendrar
Posts: 18
Joined: Mon Mar 14, 2005 11:57 am

solved the libpcre.so.0 problem

Post by mahendrar »

Do u have pcre-devel installed on ur system.If yes then just copy pcre.h from /usr/include/pcre/pcre.h to /usr/include/pcre.h.
I was having the same prob ,Doing this i solved my problem.
Best of luck
:lol:
________
ipad guides
Locked