public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] LDPATH not set
@ 2006-06-06 23:45 Robert Persson
  2006-06-07  7:15 ` Jure Varlec
  2006-06-08  5:53 ` fei huang
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Persson @ 2006-06-06 23:45 UTC (permalink / raw
  To: Gentoo_users

in /etc/env.d/00basic I have the line
LDPATH="/usr/local/lib"
yet when I enter "echo $LDPATH" I get nothing and I have to set it manually to 
get programs using libraries installed in /usr/local/lib to work.

What have I done wrong?

Many thanks
Robert
-- 
Robert Persson
That's MISTER Scum to you.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] LDPATH not set
  2006-06-06 23:45 [gentoo-user] LDPATH not set Robert Persson
@ 2006-06-07  7:15 ` Jure Varlec
  2006-06-08  5:53 ` fei huang
  1 sibling, 0 replies; 4+ messages in thread
From: Jure Varlec @ 2006-06-07  7:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

On Wednesday 07 June 2006 01:45, Robert Persson wrote:
> in /etc/env.d/00basic I have the line
> LDPATH="/usr/local/lib"
> yet when I enter "echo $LDPATH" I get nothing and I have to set it manually
> to get programs using libraries installed in /usr/local/lib to work.
>
> What have I done wrong?
>
> Many thanks
> Robert
> --
> Robert Persson
> That's MISTER Scum to you.


Did you run env-update?

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

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

* Re: [gentoo-user] LDPATH not set
  2006-06-06 23:45 [gentoo-user] LDPATH not set Robert Persson
  2006-06-07  7:15 ` Jure Varlec
@ 2006-06-08  5:53 ` fei huang
  2006-06-11  0:12   ` Robert Persson
  1 sibling, 1 reply; 4+ messages in thread
From: fei huang @ 2006-06-08  5:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

On 6/7/06, Robert Persson <ireneshusband@yahoo.co.uk> wrote:
>
> in /etc/env.d/00basic I have the line
> LDPATH="/usr/local/lib"
> yet when I enter "echo $LDPATH" I get nothing and I have to set it
> manually to
> get programs using libraries installed in /usr/local/lib to work.
>
> What have I done wrong?


run env-update and make sure that path to your lib directory is shown within
/etc/ld.so.conf. or set LD_LIBRARY_PATH, both works..

Many thanks
> Robert
> --
> Robert Persson
> That's MISTER Scum to you.
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1082 bytes --]

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

* Re: [gentoo-user] LDPATH not set
  2006-06-08  5:53 ` fei huang
@ 2006-06-11  0:12   ` Robert Persson
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Persson @ 2006-06-11  0:12 UTC (permalink / raw
  To: gentoo-user

On Wednesday 07 June 2006 22:53 fei huang was like:
> On 6/7/06, Robert Persson <ireneshusband@yahoo.co.uk> wrote:
> > in /etc/env.d/00basic I have the line
> > LDPATH="/usr/local/lib"
> > yet when I enter "echo $LDPATH" I get nothing and I have to set it
> > manually to
> > get programs using libraries installed in /usr/local/lib to work.
> >
> > What have I done wrong?
>
> run env-update and make sure that path to your lib directory is shown
> within /etc/ld.so.conf. or set LD_LIBRARY_PATH, both works..

Thanks both to you and to jure for your replies to this question.

env-update doesn't put it right. However  I do have an /etc/ld.so.conf with 
all the right directories in it. LDPATH is supposed to be generated 
using /etc/ld.so.conf, is that right? If so, why isn't it working?

LD_LIBRARY_PATH is a variable I would need to set manually, isn't it? I'd 
rather avoid doing that if possible if there is something that is supposed to 
set the path automatically.

Here is my ld.so.conf, just in case there is some bad syntax in it or 
something that would cause the problem:

# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/athena/lib
//usr//lib/opengl/ati/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5
/opt/intel/compiler70/ia32/lib
/usr/lib/nspr
/usr/lib
/usr/lib/mozilla
/usr/lib/openmotif-2.2
/opt/sun-jdk-1.4.2.10/jre/lib/i686/
/opt/sun-jdk-1.4.2.10/jre/lib/i686/native_threads/
/opt/sun-jdk-1.4.2.10/jre/lib/i686/client/
/opt/sun-jdk-1.4.2.10/jre/lib/i686/server/
/usr/lib/qt4
/usr/kde/3.5/lib
/usr/qt/3/lib
/usr/kde/3.3/lib
/usr/lib/nss
/usr/qt/2/lib
/usr/games/lib
/usr/lib/fltk-1.1
/opt/kylix3
/usr/lib/libstdc++-v3/

-- 
Robert Persson

That's MISTER Scum to you.
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-11  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 23:45 [gentoo-user] LDPATH not set Robert Persson
2006-06-07  7:15 ` Jure Varlec
2006-06-08  5:53 ` fei huang
2006-06-11  0:12   ` Robert Persson

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