Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4799 - ffmpeg needs xvidcore for avcodec_decode_video

Attached to Project: Arch Linux
Opened by Chris Fairles (CoffeeBuzz) - Saturday, 10 June 2006, 16:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 11 June 2006, 07:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

See http://bbs.archlinux.org/viewtopic.php?p=170060#170060 for more details.

Basically, applications requiring to link in libavcodec.so might not work if a call to avcodec_decode_video is made (and probably other functions) since this function requries the xvidcore shared libraries.

This can be demonstrated using the way ./configure scripts check for library compatibility. For example, the openCV application checks for avcodec_decode_video in libavcodec.so by writing a test app and attempting to compile it.

To reproduce, uninstall xvidcore, install ffmpeg and run:
echo 'int main(){ avcodec_decode_video(); return 0; }' | gcc -lavcodec -x c -o /dev/null -

You should see:
/usr/bin/ld: warning: libxvidcore.so.4, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libavcodec.so, not found (try using -rpath or -rpath-link)

Now install xvidcore and rerun, there should be no output indicating a successful compile.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 13 June 2006, 11:57 GMT
Reason for closing:  Fixed

Loading...