From owner-freebsd-questions Fri Sep 6 0:14:25 2002 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 4220E37B401 for ; Fri, 6 Sep 2002 00:14:23 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B7843E6A for ; Fri, 6 Sep 2002 00:14:22 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g867EJGk038388; Fri, 6 Sep 2002 08:14:19 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g867EDvO038387; Fri, 6 Sep 2002 08:14:13 +0100 (BST) Date: Fri, 6 Sep 2002 08:14:13 +0100 From: Matthew Seaman To: Terry Dignon Cc: freebsd-questions@FreeBSD.ORG Subject: Re: libpng problems Message-ID: <20020906071413.GB34657@happy-idiot-talk.infracaninophi> References: <20020905143919.27777.h010.c021.wm@mail.dignons.com.criticalpath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020905143919.27777.h010.c021.wm@mail.dignons.com.criticalpath.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 05, 2002 at 02:39:18PM -0700, Terry Dignon wrote: > upon trying to compile libpng, i get the error > > /usr/libexec/elf/ld: invalid BFD target > `-L/opt/zlib/lib' > *** Error code 1 > > i have been unable to figure out why this is occurring. > any ideas? Yes. This is a symptom of not using the ports system. If you do this: cd /usr/ports/graphics/png make install you will be pleasantly suprised. Of course, if you like to struggle with recalcitrant software, and you like redoing the fixes that have been contributed to the ports system by a large number of people over the years, then by all means ignore the ports system. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message