After updating media-video/ffmpeg, /usr/share/mlt/modules/libmltavformat.so was broken (libavformat.so.50 replaced by libavformat.so.51) but revdep-rebuild didn't found it because media-libs/mlt doesn't register /usr/share/mlt/modules dir for revdep-rebuild. Proposed patch: --- /usr/portage/media-libs/mlt/mlt-0.2.2.ebuild 2006-09-20 01:35:56.000000000 +0200 +++ mlt-0.2.2.ebuild 2007-02-27 21:30:30.000000000 +0100 @@ -73,4 +73,12 @@ dodir /usr/share/${PN} insinto /usr/share/${PN} doins -r demo + + # environment variables + cat <<EOF > ${T}/50-mlt-revdep +SEARCH_DIRS="/usr/share/${PN}/modules" +EOF + + insinto /etc/revdep-rebuild + doins ${T}/50-mlt-revdep }
the problem is that according to the fhs ( http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA ) : The /usr/share hierarchy is for all read-only architecture independent data files and shared libs are definitely not architecture independant :/
I may have had a similar problem after upgrading my whole system, which also upgraded mlt-0.2.3 to mlt-0.2.4. Although revdep-rebuild didn't complain about anything ("Dynamic linking on your system is consistent..."), running 'inigo xyz.mpeg' gave me: 'Failed to load plugin: libmlt.so.0.2.3: cannot open shared object file: No such file or directory' I think that the error message comes from ffmpeg (?). Indeed, there was no 0.2.3 on the system: ~ $ equery belongs /usr/bin/inigo [ Searching for file(s) /usr/bin/inigo in *... ] media-libs/mlt-0.2.4 (/usr/bin/inigo) Only after re-emerging mlt (and mlt++) things worked fine.
(In reply to comment #1) > the problem is that according to the fhs ( http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA > ) : > The /usr/share hierarchy is for all read-only architecture independent data > files > > > and shared libs are definitely not architecture independant :/ > According to upstream TODO list (http://www.mltframework.org/twiki/bin/view/MLT/ToDo) module binaries will be moved to libdir/mlt, so I suppose to close this bug as UPSTREAM