On Fri, Jan 02, 2015 at 03:26:02PM -0500, Alan Grimes wrote:
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -lncurses

Run the gcc command again, adding -Wl,-v,-t to report the command line
passed to ld by gcc and show attempted file opens.  You may find the
problem is that gcc is not passing the -L options you expect.

-- 
Alan Modra
Australia Development Lab, IBM

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to