Maxim Heijndijk <[EMAIL PROTECTED]> wrote:
> Hi, since a few days I have a problem compiling.
> I get errors like these all the time:
>
> /usr/bin/ld: warning: libSM.so.6, needed by /usr/X11R6/lib/libXaw.so, not found (try
>using -rpath or -rpath-link)
> ...
> /usr/X11R6/lib/libXt.so: undefined reference to `SmcGetIceConnection'
> collect2: ld returned 1 exit status
> make: *** [all] Error 1
>
> However, Xlibs are installed (I can see them with my own eyes), /usr/X11R6/lib is in
>/etc/ld.so.conf and also in my $PATH
> for that matter.
yes, but are you including them? i.e. is there a -lX (or whatever lib those guys
are in) included in your ld line?
As for the not found, put -L/path/to/those/libs before the -lthelib that needs it.
See also the man page for what side affects these will have!
(Because -L does have side effects!)
rc
Rusty E. Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621 SnailMail: Schlumberger ATE ___
FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 \e/
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825 V
ICBM: 33 20' 44"N 111 53' 47"W http://tuxedo.org/~esr/ecsl/index.html