From owner-freebsd-questions Fri Oct 26 13:21:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sdsl-216-36-101-146.dsl.chi.megapath.net (sdsl-216-36-101-146.dsl.chi.megapath.net [216.36.101.146]) by hub.freebsd.org (Postfix) with SMTP id 3EAAE37B406 for ; Fri, 26 Oct 2001 13:21:12 -0700 (PDT) Received: (qmail 50684 invoked from network); 26 Oct 2001 20:21:30 -0000 Received: from apu.five.sight (HELO apu.five.sight.fivesight.com) (lucas@192.168.0.102) by wiggum.five.sight with SMTP; 26 Oct 2001 20:21:30 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15321.50633.338958.769285@apu.five.sight> Date: Fri, 26 Oct 2001 15:21:29 -0500 To: Jim Freeze Cc: questions@freebsd.org From: Lucas Bergman Subject: Re: Where can I find ljpeg? In-Reply-To: <20011026155740.A9798@freebsdportal.com> References: <20011026155740.A9798@freebsdportal.com> X-Mailer: VM 6.96 under Emacs 20.7.2 Reply-To: lucas@slb.to 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 >>>>> "Jim" == Jim Freeze writes: Jim> Does anyone know where I can find ljpeg? I have an app looking Jim> for it. It's probably in /usr/local/lib. Jim> c++ -O -pipe -DHAVE_XSHM -DHAVE_ZLIB_H=1 -DHAVE_JPEG_H=1 Jim> -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -Wall -W -Wmissing-prototypes Jim> -Woverloaded-virtual -Wformat -DNDEBUG -fomit-frame-pointer Jim> -I/usr/X11R6/include -o reswrap reswrap.o -lz -ljpeg -lpng -lz Jim> -ltiff -lz Jim> /usr/libexec/elf/ld: cannot find -ljpeg Jim> *** Error code 1 Jim> find /usr -name ljpeg comes up empty. Hint: When the linker says '-ljpeg' on the command line, that means it's looking for libjpeg.a or libjpeg.so. If you have libjpeg.* in /usr/local/lib, then putting -L/usr/local/lib on the link command line is what you need. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message