From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 00:08:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A94A116A4CE for ; Tue, 7 Dec 2004 00:08:56 +0000 (GMT) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2630543D5C for ; Tue, 7 Dec 2004 00:08:56 +0000 (GMT) (envelope-from acurtis@ieee.org) Received: from [128.33.80.129] by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041207000855.IVP1396.out009.verizon.net@[128.33.80.129]>; Mon, 6 Dec 2004 18:08:55 -0600 In-Reply-To: <20041206215707.GA56506@xor.obsecurity.org> References: <20041206210116.GA40467@xor.obsecurity.org> <73B4D6A3-47D0-11D9-9A30-000A959EB894@ieee.org> <20041206215707.GA56506@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2F198D8E-47E4-11D9-9A30-000A959EB894@ieee.org> Content-Transfer-Encoding: 7bit From: Alan Curtis Date: Mon, 6 Dec 2004 19:08:55 -0500 To: Kris Kennaway X-Mailer: Apple Mail (2.619) X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [128.33.80.129] at Mon, 6 Dec 2004 18:08:55 -0600 cc: freebsd-questions@freebsd.org Subject: Re: Error updating mpeg4ip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 00:08:56 -0000 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