MacPorts v1.4.0 release announcement

Vincent Lefevre vincent-opdarw at
Thu Apr 5 17:12:16 PDT 2007

On 2007-04-05 16:49:38 -0400, Daniel J. Luke wrote:
>  The problem IIRC has to do with mismatched headers and library.

Yes, probably because the Makefile is incorrect.

>  So you'll want to do
>  locate readline.h
>  and see if there's a stray one (in /usr/local/include, probably) that's 
>  causing the build to choke.


prunille:~> locate include/readline/readline.h

The problem is a mismatch between Apple's linker and gcc. A
-I/usr/include is ignored by gcc (because it is in the system path),
while with -L/usr/lib, this directory has the precedence. In short,
using -L/usr/lib is incorrect.

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the macports-dev mailing list