*** This bug is a duplicate of bug 64729 ***

Public bug reported:

I updated from dapper to edgy beta.  gcc stopped working ...

[EMAIL PROTECTED]:44>gcc hello.c            
/usr/X11R6/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

[EMAIL PROTECTED]:45>which -p gcc
/usr/X11R6/bin/gcc

Now this is where it gets weird.  What's the compiler doing under
/usr/X11R6?  This becomes clearer with,

[EMAIL PROTECTED]:46>ls -l /usr/X11R6
total 4
0 lrwxrwxrwx 1 root root 1 Oct  4 21:14 bin -> ../bin/
4 drwxr-xr-x 3 root root 4 May 25 10:47 lib/

so, /usr/X11R6/bin is a symlink to /usr/bin, but /usr/X11R6/lib is a
unique library.  That's just NOT GOING TO WORK.

Btw, my .zlogin, which is responsible for setting my path, adds /usr/bin
later in PATH than /usr/X11R6/bin, as one would expect.  (It's a
somewhat generic .zlogin that I use on multiple systems and it probes
various directories to figure out what should go on $PATH.

GCC expects the bin directory in which it resides to have a sibling lib
directory with the libraries etc that it requires.

I've no idea what caused that /usr/X11R6/bin symlink to be created.  I
see on breezy that /usr/X11R6/bin is not a symlink.

IMHO this is a critical bug, let me know if you want more information.

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
gcc broken with edgy
https://launchpad.net/bugs/64726

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to