Re: X 4.3.99.902 Compile error

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

 



On Thu, Jan 08, 2004 at 03:43:17PM -0500, George Socker wrote:
> > I wasn't clear on two points: the -lncurses switch, which *is*
> > present on the command line in the makefile, should be causing the
> > linker to look for libncurses, *which it clearly is not* from the
> > error message.

> Actually,  it *is* looking for libncurses.so, despite the error message 
> saying -lncurses was not found.
> Example
> gcc test1.c -lGL1 (which does not exist)
> Result: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../
> i686-pc-linux-gnu/bin/ld: cannot find -lGL1
> 
> Strace -f results - 
> [pid  3016] open("/usr/lib/libGL1.so", O_RDONLY) = -1 ENOENT (No such 
> file or directory)               ^^^^^^^^^
> 				Note that is is looking libGL1.so, not GL1. The linker automatically 
> adds the lib portion. See man ld.

I hereby modify my complaint: that error messaage is *wildly* broken.  :-)

Pretty clearly that was the instant problem, since adding the library
requested fixed his first problem.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra@xxxxxxxxxxx
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

        Come see Linux Gazette in our new home: www.linuxgazette.net!
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux