Date: Mon, 24 Jun 2002 21:32:38 -0400 (EDT) From: "Michael Sharp" <freebsd@ec.rr.com> To: <behanna@zbzoom.net> Cc: <freebsd-security@FreeBSD.ORG> Subject: RE: libparanoia Message-ID: <2002.66.56.232.240.1024968758.squirrel@webmail.probsd.ws> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2002.66.56.232.240.1024968758.squirrel>