Date: Mon, 6 Dec 2004 19:08:55 -0500 From: Alan Curtis <acurtis@ieee.org> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-questions@freebsd.org Subject: Re: Error updating mpeg4ip Message-ID: <2F198D8E-47E4-11D9-9A30-000A959EB894@ieee.org> In-Reply-To: <20041206215707.GA56506@xor.obsecurity.org> References: <EBC14C28-479A-11D9-9A30-000A959EB894@ieee.org> <20041206210116.GA40467@xor.obsecurity.org> <73B4D6A3-47D0-11D9-9A30-000A959EB894@ieee.org> <20041206215707.GA56506@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F198D8E-47E4-11D9-9A30-000A959EB894>