Mail Archives: djgpp/1997/12/18/20:20:33
At 01:06 12/17/1997 +0100, Mirek Prywata wrote:
>I compiled grx22 lib under XFree, and it works pretty well. But I thnik
>there's small bug in linux makefile for x11 (makefile.x11) for tests
>programs. It does not link X11 library. Everything went ok, when I put
>it explicitly in makefile.
>
>A propos, how to compile it dynamically with this library? When I put
>-lX11 there was an error:
>ld: can't find -lX11, or sth like that.
How did you link it before? By adding something like `/usr/X11/lib/libX11.a'
to the link line? Because AFAIK, if you have your library paths set
properly, `-lX11' should work. Make sure your environment variable
`LIBRARY_PATH' includes the appropriate directory. Also make sure that you
have a symlink called `libX11.so' which points to something like
`libX11.so.42' where 42 is the version number.
HTH
Nate Eldredge
eldredge AT ap DOT net
- Raw text -