Error updating mpeg4ip

Alan Curtis acurtis at ieee.org
Mon Dec 6 16:08:56 PST 2004


On Dec 6, 2004, at 4:57 PM, Kris Kennaway wrote:

> On Mon, Dec 06, 2004 at 04:47:40PM -0500, Alan Curtis wrote:
>>
>> On Dec 6, 2004, at 4:01 PM, Kris Kennaway wrote:
>>
>>> On Mon, Dec 06, 2004 at 10:24:28AM -0500, Alan Curtis wrote:
>>>> While following the instructions in /usr/ports/UPDATING to upgrade
>>>> mpeg4ip (dated 2004111), I got the following error.
>>>>
>>>> Error: shared library "avcodec.0" does not exist
>>>> *** Error code 1
>>>
>>> That usually means you forgot to first update the ports upon which
>>> mpeg4ip depends.  Use e.g. portupgrade to do this.
>>>
>>>
>>
>> I first got error first using portupgrade -a. I think the process in
>> /usr/ports/UPDATING handles the dependencies, does it not?
>>
>> For reference, this is what I did.
>>
>>   pkg_delete -f /var/db/pkg/mpeg4ip*
>>   pkg_delete -f /var/db/pkg/faad*
>>   cd /usr/ports/multimedia/mpeg4ip-libmp4v2 && make install clean
>>   cd /usr/ports/audio/faad && make install clean
>>   cd /usr/ports/multimedia/mpeg4ip && make install clean
>
> No, that doesn't update all the dependencies.
>

I'm sorry. I had forgotten the other piece. avcodec.0 was reported to 
come from ffmpeg, which is also referred to in UPDATING. UPDATING says 
to

   1) Remove old ffmpeg

   pkg_delete -f /var/db/pkg/ffmpeg*

   2) Install updated ffmpeg

   3) Rebuild all ports that depend on ffmpeg due to the shared
   library version bump

   cd /var/db/pkg && portupgrade -rf ffmpeg* -x ffmpeg*

which I did first, but

cd /usr/ports/multimedia/mpeg4ip && make install clean

still gives the error,

===>   mpeg4ip-1.1_1 depends on shared library: avcodec.0 - not found
===>    Verifying install for avcodec.0 in /usr/ports/multimedia/ffmpeg
===>   Returning to build of mpeg4ip-1.1_1
Error: shared library "avcodec.0" does not exist
*** Error code 1

Am I doing things in the wrong order? What order should I do what to 
install mpeg4ip?

Thanks

Alan



More information about the freebsd-questions mailing list