Re: /usr/bin/ld: cannot find -lICE



Geico Caveman wrote:
steve_schefter@xxxxxxxxxxx wrote:

Geico Caveman wrote:
The first line of my /etc/ld.so.conf is :

/usr/X11R6/lib

I ran ldconfig once more to just make certain. The error persists.

Shouldn't that take care of things ?

I read the man page for ld the same, that it should work if
you put it in this file. ldconfig -v even shows libICE.
However, it doesn't work. Even compiling a simple hello
world -lICE (no other compiler options) results in the same
error unless an explicit -L/usr/X11R6/lib is used.

I don't know about the package you are using, but there's
usually a way to add options to gcc/ld with switches when
running the configure script.

Steve

.



Relevant Pages

  • Re: /usr/bin/ld: cannot find -lICE
    ... I ran ldconfig once more to just make certain. ... The error persists. ... Shouldn't that take care of things? ... Hmm, the man page is wrong. ...
    (comp.os.linux.misc)
  • Re: /usr/bin/ld: cannot find -lICE
    ... I ran ldconfig once more to just make certain. ... The error persists. ... Shouldn't that take care of things? ... Yes, but kinda hard to argue with emperical evidence, eh? ...
    (comp.os.linux.misc)
  • Re: /usr/bin/ld: cannot find -lICE
    ... I ran ldconfig once more to just make certain. ... The error persists. ... Shouldn't that take care of things? ... Yes, but kinda hard to argue with emperical evidence, eh? ...
    (comp.os.linux.misc)
  • Re: /usr/bin/ld: cannot find -lICE
    ... I ran ldconfig once more to just make certain. ... Shouldn't that take care of things? ... world -lICE (no other compiler options) results in the same ... configure script and it worked. ...
    (comp.os.linux.misc)