[606] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: problems with "pwd"

daemon@ATHENA.MIT.EDU (Artur Grabowski)
Wed Feb 17 10:44:37 1999

From owner-arla-drinkers@stacken.kth.se Wed Feb 17 15:44:37 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 426 invoked from network); 17 Feb 1999 15:44:36 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 17 Feb 1999 15:44:36 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id QAA16525
	for arla-drinkers-list; Wed, 17 Feb 1999 16:38:16 +0100 (MET)
Received: from pizza.stacken.kth.se (pizza.stacken.kth.se [130.237.234.73])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id QAA16500;
	Wed, 17 Feb 1999 16:36:41 +0100 (MET)
Received: (from art@localhost)
	by pizza.stacken.kth.se (8.8.7/8.8.7) id QAA17361;
	Wed, 17 Feb 1999 16:36:40 +0100 (MET)
To: Herbert Huber <Herbert.Huber@lrz-muenchen.de>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: problems with "pwd"
References: <36CAE090.7E149893@lrz-muenchen.de>
From: Artur Grabowski <art@stacken.kth.se>
Date: 17 Feb 1999 16:36:38 +0100
In-Reply-To: Herbert Huber's message of "Wed, 17 Feb 1999 16:30:25 +0100"
Message-ID: <lub90dxrqih.fsf@pizza.stacken.kth.se>
Lines: 32
X-Mailer: Gnus v5.6.44/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Herbert Huber <Herbert.Huber@lrz-muenchen.de> writes:

> Hello!
> 
> After installation and start of arla 0.21 I encountered problems with
> /bin/pwd on my Linux system (Linux 2.2.1, dual Pentium 450 MHz).
> Calling pwd in my AFS $HOME, the following message is displayed:
> /bin/pwd: cannot get current directory
> Also tcsh complains:
> shell-init: could not get current directory: getcwd: cannot access
> parent directories: No such file or directory
> pwd: could not get current directory: getcwd: cannot access parent
> directories
> 
> Has anybody solved this problem?

Read the INSTALL document:

  If you are using Linux 2.1 or 2.2, you may want to do enable
  the getcwd syscall, which works much better than the old way
  of doing getcwd. In order to do this, follow these steps:
 
  1. Copy /usr/arla/lib/libgetcwd.so.X (where X is the arla version)
     to /lib.
  2. Run "/sbin/ldconfig".
  3. Run "LD_PRELOAD=/lib/libgetcwd.so.0 /bin/pwd". If this fails
     with "/bin/pwd: can't load library '/lib/libgetcwd.so.0'" or
     some other error message, report this error.
  4. If the previous step went well, add this line to /etc/ld.so.preload:
     /lib/libgetcwd.so.0

//art

home help back first fref pref prev next nref lref last post