public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gerhard Heinzel <ghh@mpq.mpg.de>
To: help-gcc@gnu.org
Subject: Re: During link: cannot find libgcc.a - Please help me (2)
Date: Tue, 30 Nov 1999 23:28:00 -0000	[thread overview]
Message-ID: <Pine.LNX.3.96.991113073323.4751A-100000@mpqpc63.mpq.mpg.de> (raw)
Message-ID: <19991130232800.zElFJ3ZXEVy9oUuNuPGzMY_7ZHDKdBnBcrLjnh6Zifc@z> (raw)
In-Reply-To: <80hj3n$tl$1@nnrp1.deja.com>

On Fri, 12 Nov 1999, Ulrich-W. Kaestner wrote:

> I use the gnu compiler egcs 2.91.60
> During linking with the following command ...
> 
> gcc my.o -bI:$TOFF_SOURCE/MEMPISHR.exp -lbsd
> 
> ... I get the following error message:
> 
> ld: 0706-005 Cannot find or open file: libgcc.a
>  ld:open(): A file or directory in the path name
>             does not exist.
> 
> Several versions of the named file exist in the filesystem ! Do I have
> to define some environment variables (additional to the
> smit-installation of the compiler) ?

I had the same problem and it turned out that
"make install" set some permissions wrongly,
i.e. directories and library files were owned by "root"
and not readable for anyone else.
After fixing the permissions it worked fine.

Good Luck,

Gerhard

  reply	other threads:[~1999-11-30 23:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-12  9:41 Ulrich-W. Kaestner
1999-11-12 21:47 ` Gerhard Heinzel [this message]
1999-11-15 11:44   ` Ulrich-W. Kaestner
1999-11-30 23:28     ` Ulrich-W. Kaestner
1999-11-30 23:28   ` Gerhard Heinzel
1999-11-30 23:28 ` Ulrich-W. Kaestner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.991113073323.4751A-100000@mpqpc63.mpq.mpg.de \
    --to=ghh@mpq.mpg.de \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).