Simon Foster wrote:
>
> I have tried to compile plib under SuSE Linux, and
> after numerous problems I finally managed to get the
> thing to start compiling. It gets to where is compiles
> the js example and then bails out with "Cannot open
> -lX11, although I'm sure the library exists in
> /usr/X11R6/lib. Why can't it find it?
I develop using SuSE Linux - so you really shouldn't have any
problems if you have SuSE set up correctly.
I have libX11 in these locations (according to 'find'):
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.1
What *might* be wrong is something like a missing symlink
that SuSE should have installed... eg: /usr/X11 links to
/usr/X11R6
...but you say that you had 'numerous problems' and that
you 'got around' them. This says to me that you have some
serious mis-install problems.
One common error is to fail to ask SuSE's YAST program to
install the X11 development package. I did this on my laptop
a couple of weeks ago (thinking that this was the package for
developing X windows rather than the package for compiling
programs that use X). For some insane reason, this is not
the default (grrrrr).
--
Steve Baker http://web2.airmail.net/sjbaker1
sjb...@ai... (home) http://www.woodsoup.org/~sbaker
sj...@ht... (work)
|