Support and queries relating to all previous versions of ZoneMinder
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sat Jun 11, 2005 10:33 pm
has any one seen this
I ran zmu -d 0 -q -v
and got
symbol lookup error: /usr/local/lib/libavcodec.so: undefined symbol: mm_flags
Thanks
cordel
Posts: 5210 Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Post
by cordel » Sat Jun 11, 2005 10:47 pm
This is a library file provided by ffmpeg that it is not finding. Check and make sure you have installed ffmpeg and if you are building from source you will need the ffmpeg-devel as well.
Regards,
Cordel
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sat Jun 11, 2005 11:08 pm
I already successfully build ffmepg from source. what this message says it not that libavcode.so is not found, but that the symbol mm_flags is not found. any ideas?
cordel
Posts: 5210 Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Post
by cordel » Sat Jun 11, 2005 11:43 pm
There were no errors about undefined reference to `mm_flags' when you built ffmpeg?
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sun Jun 12, 2005 12:03 am
can't be sure of that now. I just tried to recompile, but 'make' no longer does anything. is there a way to uninstal and start from scratch?
Thanks
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sun Jun 12, 2005 12:24 am
ok. I did a make clean to start from scratch.
everything compiled and installed fine with only some warning. but this error message still come up when I ran the app.
cordel
Posts: 5210 Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Post
by cordel » Sun Jun 12, 2005 12:30 am
I think from the build dir for ffmpeg you can run a
make uninstall
after that (only if the above comand worked) do a
make distclean
Then you can start over with ffmpeg. It has been a while since I've built and installed source so I could be wrong. I usualy now build the source into a packaged RPM and then install the RPM these days.
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sun Jun 12, 2005 1:09 am
do you know if the ffmpeg used for zm needs the ffplay? I disabled that during configure. don't know if that's my problem.
cordel
Posts: 5210 Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Post
by cordel » Sun Jun 12, 2005 1:12 am
I would say no, I don't think so, but I could not say for sure.
bhomass
Posts: 103 Joined: Sat Jun 11, 2005 6:54 pm
Post
by bhomass » Sun Jun 12, 2005 1:23 am
ok, found my problem!
there is a second copy of libavcodec.so hiding in another dir. all my new makes did not replace it. my folly.
now, I still don't know which of my fixes were necessary. but the app does run now.
Thanks so much!
cordel
Posts: 5210 Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Post
by cordel » Sun Jun 12, 2005 1:25 am
Sweet, Glad you got it beat.
Cheers,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain