delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/18/20:20:33

Date: Thu, 18 Dec 1997 17:19:48 -0800 (PST)
Message-Id: <199712190119.RAA12118@adit.ap.net>
Mime-Version: 1.0
To: Mirek Prywata <nospam-mpry AT fuw DOT edu DOT pl>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: grx22 anx X11

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019