Re: Compiling pre6 - can't find libncurses

Markus Hoenicka <[email protected]> Mon, 22 Oct 2007 15:13:49 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Quoting Jeremy Malcolm <[email protected]>:


> configure:3791: checking for tputs in -lcurses
> configure:3821: gcc -o conftest -I/sw/include -I/sw/include/dbi -O2   
>  -L/sw/lib -L/sw/lib/ncurses conftest.c -lcurses   >&5
> /usr/bin/ld: warning /sw/lib/libcurses.dylib cputype (18,   
> architecture ppc) does not match cputype (7) for specified -arch   
> flag: i386 (file not loaded)
> /usr/bin/ld: Undefined symbols:
> _tputs
> collect2: ld returned 1 exit status

I'm no Mac expert but this error message apparently tries to tell you  
that the libncurses library that is first in your path is a library  
built for ppc, not for i386 (you new Mac apparently is one of these  
Intel Macs). You may have accidentally installed a wrong package. As  
your original post indicated you have several libncurses libraries  
around, could you try and remove the offending one and see whether one  
of the others works?

regards,
Markus



-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/