delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/05/04:08:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 5 Mar 2010 10:08:17 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: taskkill - error while loading shared libraries - LD_LIBRARY_PATH?
Message-ID: <20100305090817.GG7980@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <b89d7ba31003011510o766c331bj59b0eb78a1caa535 AT mail DOT gmail DOT com> <b89d7ba31003031512t2b46d5d9l621175a84db25e56 AT mail DOT gmail DOT com> <4B8EF200 DOT 8060304 AT cygwin DOT com> <b89d7ba31003041505p4cbe3c1bic73e565b3c37b822 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <b89d7ba31003041505p4cbe3c1bic73e565b3c37b822@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar  5 09:05, Robert Mark wrote:
> Turns out it was my cygdrive mount was not being set properly. I was
> changing the cygdrive mount in my own .bash_profile (via "mount
> --change-cygdrive-prefix /") because at the time I was not admin of
> the computer and couldn't edit /etc/profile or /etc/fstab. It seems
> this is too late: by the time my .bash_profile is evaluated, the PATH
> (or something else?) had already been set up and the paths are
> screwed.
> 
> I fixed up the rights on Windows so I am admin now,  /etc/fstab like so:
> none / cygdrive binary,posix=0,user 0 0

You don't have to run under an admin account.  If the cygdrive prefix
is marked as "user" /etc/fstab, you can override it in your user's
/etc/fstab.d/$USER fstab file.
See http://cygwin.com/cygwin-ug-net/using.html#mount-table


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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