On Tuesday 03 July 2001 22:13, Maxim Heijndijk 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/bin/ld: warning: libICE.so.6, needed by
> /usr/X11R6/lib/libXaw.so, not found (try using -rpath or
> -rpath-link) /usr/bin/ld: warning: libXpm.so.4, needed by
> /usr/X11R6/lib/libXaw.so, not found (try using -rpath or
> -rpath-link) /usr/X11R6/lib/libXt.so: undefined reference to
> `SmcSaveYourselfDone' /usr/X11R6/lib/libXt.so: undefined reference
> to `IceConnectionNumber' /usr/X11R6/lib/libXt.so: undefined
> reference to `SmcDeleteProperties' /usr/X11R6/lib/libXt.so:
> undefined reference to `IceProcessMessages'
> /usr/X11R6/lib/libXaw.so: undefined reference to
> `XpmReadFileToPixmap' /usr/X11R6/lib/libXt.so: undefined reference
> to `SmcRequestSaveYourselfPhase2' /usr/X11R6/lib/libXt.so:
> undefined reference to `SmcInteractDone' /usr/X11R6/lib/libXt.so:
> undefined reference to `SmcCloseConnection'
> /usr/X11R6/lib/libXt.so: undefined reference to `SmcSetProperties'
> /usr/X11R6/lib/libXt.so: undefined reference to `SmcOpenConnection'
> /usr/X11R6/lib/libXt.so: undefined reference to
> `SmcInteractRequest' /usr/X11R6/lib/libXt.so: undefined reference
> to `SmcModifyCallbacks' /usr/X11R6/lib/libXt.so: undefined
> reference to `SmcClientID' /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.
>
> Does anybody know what's wrong here ?

I think those libs are all symlinks

libXpm.so.4->libXpm.so.4.11
libSM.so.6->libSM.so.6.4
libICE..so.6->libICE.so.6.3

And you have a very strict compiler and linker... so ./ configure 
should probably use -rpath-link  or 
--with-ldflags=-Ldir/usr/X11R6/libSM.so.6
(and they are all in /usr/X11R6/lib)

And of course when was the last time you ran ldconfig -v?

Civileme

Reply via email to