Re: developer's libs missing?
On Mon, Mar 19, 2001 at 04:24:12PM -0800, Seth Arnold wrote:
> Greetings folks! [Apologies for not returning after winter break; my
> senior project is taking too much of time.]
>
> I am trying to compile plex86 on my Debian unstable system with XFree86
> 4.0.2-7, kernel 2.4.2 SMP (on dual celerons), glibc 2.2.2-1. I get an
> error message saying it cannot find libX11 [1].
>
> I asked on the plex86 list if I was missing an obvious library since I
> thought I had all the right packages installed. I think the xlibs-dev
> package is missing some required header files: specifically, libX11.h.
> $ dpkg -L xlibs-dev | grep -i libx11
> /usr/X11R6/lib/libX11.a
> /usr/X11R6/lib/libX11.so
>
> Shouldn't there be some header files included with this package? If I
> missed a package, could someone swing the clue-bat this direction and
> help me out? Thanks. :)
>
<SNIP compile--error>
Try <X11/X.h> for your header that most X apps will need. You'll likely
need to add the following to your $(CC) line:
-I/usr/X11R6/include
and this to your LDFLAGS and/or $(LINK) line:
-L/usr/X11R6/lib/
HTH
Gordon Sadler
Reply to: