bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

library -lc: not found when compiling ncurses 5.7


From: Paul Rivera
Subject: library -lc: not found when compiling ncurses 5.7
Date: Tue, 3 Mar 2009 00:02:30 +0800

Hi!

I'm getting the error below when I try to compile ncurses-5.7 on Solaris 10 x86_64 with gcc-4.3.3.

gcc ../objects/tic.o ../objects/dump_entry.o  -I../progs -I../../progs -DHAVE_CONFIG_H -I../../progs/../include -I. -I../include  -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/usr/local/include/ncurses -O2 --param max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -dynamic   -o tic
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to tic
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory `/Documents/ncurses-5.7/ncurses-5.7/objdir/progs'
make: *** [all] Error 2

I've read that this error happens because you cannot statically compile with the c library in Solaris.  I am quite new to Solaris and I do not understand this entirely?  Can anyone help me fix this?  And perhaps give some explanation as well?

If this seems more solaris related than ncurses, I was hoping maybe there's someone out there that has experienced this problem with solaris and ncurses and could probably share the solution.

Your help would be much appreciated.

Best Regards,
Paul RIvera


reply via email to

[Prev in Thread] Current Thread [Next in Thread]