After upgrading gentoo - no image in zm - libavutil.so.49

Support and queries relating to all previous versions of ZoneMinder
Locked
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

After upgrading gentoo - no image in zm - libavutil.so.49

Post by christophe_y2k »

hello !
after upgrading my gentoo server
no image in ZM V1.23.3
zm run fine but when i wanna to see a cam, broken link no image
but that say video - 2.67 fps and that detect alert but haven't got any image

i precise all work fine before upgrade my gentoo

error in apache

/var/www/localhost/cgi-bin/nph-zms: error while loading libraries: libavutil.so.49: cannot open shared object file: No such file or directory,

i reinstall ffmpeg with no success

haven't got: libavutil.so.49
but i have: libavutil.so.50
new version?

any idea?

Joyeuse fêtes de fin d'année
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

workaround

Post by christophe_y2k »

i create a symbolic link to livavutil.so.50.3.0 present on my system in /usr/lib64 to libavutil.so.49

that works fine but this is a piece of scotch


if anybody have better idea !!!


special thanks to Philip Coombes for this work
now i'm an happy paypal contributor
:D
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You would have to rebuild ZM and honestly I'm surprised that simlinking worked since the differences between 4.9 and 5.0 are tremendous.
Matter of fact you might just leave it be as I'm not sure that 1.23.3 can build on the newer ffmpeg without patching.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Post by christophe_y2k »

thanks for your reply...

i try to rebuild zm with no succes (when i say rebuild i use the installer from gentoo "emerge zoneminder" not compiling from source)

the latest version is not released for gentoo .

i try to compile from source the latest version on another computer ....

i can't try on my product server
now i know i c'ant upgrade my gentoo "in security" ...
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

After doing major updates with gentoo, its sometimes necessary to rebuild few things

just run: revdep-rebuild and it should do the job.
braindead0
Posts: 10
Joined: Mon Nov 30, 2009 9:08 pm

Re: After upgrading gentoo - no image in zm - libavutil.so.4

Post by braindead0 »

christophe_y2k wrote:hello !
after upgrading my gentoo server
no image in ZM V1.23.3
zm run fine but when i wanna to see a cam, broken link no image
but that say video - 2.67 fps and that detect alert but haven't got any image

i precise all work fine before upgrade my gentoo

error in apache

/var/www/localhost/cgi-bin/nph-zms: error while loading libraries: libavutil.so.49: cannot open shared object file: No such file or directory,

i reinstall ffmpeg with no success

haven't got: libavutil.so.49
but i have: libavutil.so.50
new version?

any idea?

Joyeuse fêtes de fin d'année
Re-emerge apache, should take care of that.
Locked