Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 09:36:26 -0400 (EDT)
From:      wietse@porcupine.org (Wietse Venema)
To:        "Peter C. Lai" <sirmoo@cowbert.net>
Cc:        postfix-users@cloud9.net
Subject:   Re: [postfix-users] pipe unable to parse dash flags in argv (resolved)
Message-ID:  <20041006133626.9F410BC211@spike.porcupine.org>
In-Reply-To: <20041005193813.GB243@cowbert.net> "from Peter C. Lai at Oct 5, 2004 03:38:13 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Peter C. Lai:
> Date: Sat, 2 Oct 2004 09:45:12 -0400 (EDT)
> From: wietse@porcupine.org (Wietse Venema)
> 
> > I REPEAT: YOU HAVE LINKED POSTFIX WITH A BRAIN DAGAGED GNU GETOPT ROUTINE.
> >                                                                                
> > DON'T DO THAT. POSTFIX REQUIRES THAT YOU USE THE SYSTEM GETOPT
> > ROUTINE.
> 
> This is not a problem I can easily resolve. What would you propose?

Use the SYSTEM LIBRARY getopt() routine! 

DO NOT overrride system library routines with brain-damaged third
party versions.

If you must use third-party libraries that override native methods
specify

    -lc 

before 

    -lbraindamagedthirdpartylibrary

	Wietse

> I can see 
> if it will build correctly without linking -L /usr/local/lib, because it WILL 
> ALWAYS pick up the broken gnugetopt IF we are linking to /usr/local/lib AND 
> the freebsd libgnugetopt port is installed. In any case, we must change the 
> Makefile in order to get it to link to the correct getopt library, and doing 
> this is beyond my scope of expertise.
> 
> 



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