From owner-freebsd-security Mon Jun 24 18:24:44 2002 Delivered-To: freebsd-security@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-203.zoominternet.net [24.154.28.203]) by hub.freebsd.org (Postfix) with ESMTP id 24F1337B406 for ; Mon, 24 Jun 2002 18:24:35 -0700 (PDT) Received: from topperwein (topperwein [192.168.168.10]) by topperwein.dyndns.org (8.12.3/8.12.3) with ESMTP id g5P1OTLq007352 for ; Mon, 24 Jun 2002 21:24:29 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Mon, 24 Jun 2002 21:24:24 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD Security Subject: RE: libparanoia In-Reply-To: <2600.192.168.1.4.1024945572.squirrel@webmail.probsd.ws> Message-ID: <20020624211941.K7245-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 24 Jun 2002, Michael Sharp wrote: > So, if I install libparanoia.. I would then add to any Makefile's CFLAGS > arguments -lparanoia -L/usr/local/lib ? That looks backwards. "-L/usr/local/lib -lparanoia" looks more sensible. > Example: /usr/ports/www/apache13/Makefile > > change: CFLAGS+= -O6 -fomit-frame-pointer > > to: CFLAGS+= -O6 -fomit-frame-pointer -lparanoia -L/usr/local/lib > > and apache13 would be built using /usr/local/lib/libparanoia.so ? No. You want to alter LDFLAGS, not CFLAGS. At some point in the not-too-distant past (i.e., around the time of the publication of the zlib double-free bug), the merits and caveats of using libparanoia were discussed. I suggest you search the list archives. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net Turning coffee into software since 1990. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message