Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* X library configuration?
@ 1998-12-17 20:21 Jeff DeMaagd
  1998-12-19 23:32 ` Michal Jaegermann
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff DeMaagd @ 1998-12-17 20:21 UTC (permalink / raw)
  To: axp-list


I've been trying to get some X games to compile.  They compile fine until
it tries to link in the X related libraries like Xaw, Xmu, etc.  As far as
I can determine, the linker isn't finding the directories those files are
in.  Right now on my setup, they are in /usr/X11R6/lib/, and I tried
making a link from /usr/lib to that directory, but I have no clue what to
do.  I have installed egcs-1.1.1, but I haven't upgraded anything else X
releated, but I think I either munged the install or setup of SOMETHING or
something never was set up proplerly.  I was able to compile wx-ftp, but I
didn't check what libs link into them other than gtk+ I think.

I appreciate any help.

TIA

JRDM


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: X library configuration?
  1998-12-17 20:21 X library configuration? Jeff DeMaagd
@ 1998-12-19 23:32 ` Michal Jaegermann
  1998-12-19 23:46   ` Larry Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 1998-12-19 23:32 UTC (permalink / raw)
  To: axp-list

Jeff DeMaagd wrote:
> 
> 
> As far as
> I can determine, the linker isn't finding the directories those files are
> in.

There is a bunch of directories which linker will visit "always"
(this is really determined by your 'specs' file for a compiler).
You can always add extra directories to this list by listing them
with -L option in compilation flags.  Compiler docs have something
to say on the topic.

BTW - what loader will consider when looking for shared libraries
is listed in /etc/ld.conf.so (once again - there are some defaults
like /lib and /usr/lib).  Just rerun ldconfig is adding something
new to the list.

   --mj


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: X library configuration?
  1998-12-19 23:32 ` Michal Jaegermann
@ 1998-12-19 23:46   ` Larry Snyder
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Snyder @ 1998-12-19 23:46 UTC (permalink / raw)
  To: axp-list

Make that /etc/ld.so.conf and mj is right: you need to run ldconfig
after editing it to add the paths to /etc/ld.so.cache. The default
install location for gtk+ appears to be /usr/local/lib.  I wonder
if (for whatever reason) you're not looking in /usr/X11R6/lib.
Shouldn't xmkmf and the Imakefile take care of this?
-ls-
	 
Michal Jaegermann <michal@ellpspace.math.ualberta.ca> wrote:
> Jeff DeMaagd wrote:
> > 
> > 
> > As far as
> > I can determine, the linker isn't finding the directories those files are
> > in.
> 
> There is a bunch of directories which linker will visit "always"
> (this is really determined by your 'specs' file for a compiler).
> You can always add extra directories to this list by listing them
> with -L option in compilation flags.  Compiler docs have something
> to say on the topic.
> 
> BTW - what loader will consider when looking for shared libraries
> is listed in /etc/ld.conf.so (once again - there are some defaults
> like /lib and /usr/lib).  Just rerun ldconfig is adding something
> new to the list.
> 
>    --mj
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-12-19 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-17 20:21 X library configuration? Jeff DeMaagd
1998-12-19 23:32 ` Michal Jaegermann
1998-12-19 23:46   ` Larry Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox