From owner-freebsd-security Mon Jun 24 18:31: 5 2002 Delivered-To: freebsd-security@freebsd.org Received: from probsd.ws (ilm26-7-034.ec.rr.com [66.26.7.34]) by hub.freebsd.org (Postfix) with ESMTP id EA2D837B401 for ; Mon, 24 Jun 2002 18:30:58 -0700 (PDT) Received: from probsd.ws (probsd.ws [192.168.1.4]) by probsd.ws (8.12.4/8.12.4) with SMTP id g5P1WcGu000264; Mon, 24 Jun 2002 21:32:38 -0400 (EDT) (envelope-from freebsd@ec.rr.com) Message-ID: <2002.66.56.232.240.1024968758.squirrel@webmail.probsd.ws> Date: Mon, 24 Jun 2002 21:32:38 -0400 (EDT) Subject: RE: libparanoia From: "Michael Sharp" To: In-Reply-To: <20020624211941.K7245-100000@topperwein.dyndns.org> References: <2600.192.168.1.4.1024945572.squirrel@webmail.probsd.ws> <20020624211941.K7245-100000@topperwein.dyndns.org> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Thx Chris, yea, I see now that it is backwards, but thats how the author had it documented. I'll compile apache now with the LDFLAGS argument and run ldd `which httpd` to see if it build libparanoia in. If not, I guess I could use apxs to install the libparanoia object file. Again, thx michael Chris BeHanna said: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message