Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 21:24:24 -0400 (EDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        FreeBSD Security <security@freebsd.org>
Subject:   RE: libparanoia
Message-ID:  <20020624211941.K7245-100000@topperwein.dyndns.org>
In-Reply-To: <2600.192.168.1.4.1024945572.squirrel@webmail.probsd.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624211941.K7245-100000>