Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-x11-6.8.2 removed my /usr/lib symlink
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
jimbothigpen
n00b
n00b


Joined: 03 Sep 2004
Posts: 8

PostPosted: Tue Feb 22, 2005 5:37 pm    Post subject: xorg-x11-6.8.2 removed my /usr/lib symlink Reply with quote

last night, emerging xorg-x11-6.8.2 on a newly installed amd64 system, emerge puked in the postinstall process -- seems somewhere in the ebuild for xorg-x11-6.8.2 my /usr/lib symlink to /usr/lib64 was removed. not really nice, i thought. results in the ebuild failing, since "emerge" is no longer in my path. putting the link back manually, of course, results in a useable system, and, as it turns out, xorg is installed ok. just seems like a bit of an issue.

-jimbothigpen
Back to top
View user's profile Send private message
dshanker
n00b
n00b


Joined: 13 May 2002
Posts: 26

PostPosted: Wed Feb 23, 2005 9:55 am    Post subject: Reply with quote

Wow.. that sucks. Make sure you file a bug report, if you haven't already done so... http://bugs.gentoo.org
Back to top
View user's profile Send private message
matthew2k
n00b
n00b


Joined: 14 Mar 2003
Posts: 27
Location: Germany

PostPosted: Wed Feb 23, 2005 10:32 am    Post subject: Re: xorg-x11-6.8.2 removed my /usr/lib symlink Reply with quote

There has been/still is a bug in the 6.8.2 xorg build which blows up the lib/lib64 symlinks. This should have been fixed on feb 14th by a fix eradicator checked in. Seems like the problem persists. Please be sure to file a detailed bug report about this and I guess it would be a good idea to send a short mail explaining the situation to the Gentoo-AMD64 mailing list or to eradicator@gentoo.org so this can get fixed as soon as possible.
Back to top
View user's profile Send private message
knue
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 139

PostPosted: Wed Feb 23, 2005 7:53 pm    Post subject: Reply with quote

I have problems with various symlinks, too. xorg-x11-2.8.2 broke them. Now I tried some things to repair my system. I downgraded to xorg-2.8.0. After a bit of fixing here my dirs/ simlinks:

Code:

ls /usr -l
lrwxrwxrwx    1 root    root        6 Feb 21 14:47 X11R6 -> ../usr
drwxr-xr-x    2 root    root    37872 Feb 23 15:22 bin
lrwxrwxrwx    1 root    root        9 Feb 20 22:41 doc -> share/doc
drwxr-xr-x    3 root    root       72 Feb 22 21:33 emul
drwxr-x---    4 root    games      96 Feb 23 16:35 games
drwxr-xr-x   97 root    root    12408 Feb 23 14:52 include
lrwxrwxrwx    1 root    root       10 Feb 20 22:41 info -> share/info
drwxr-xr-x    3 root    root       72 Feb 21 14:10 kde
drwxr-xr-x    6 root    root      144 Feb 22 17:26 kdevbdb
drwxr-xr-x   38 root    root    35200 Feb 23 16:34 lib
lrwxrwxrwx    1 root    root       25 Feb 21 05:30 lib32 -> ../emul/linux/x86/usr/lib
drwxr-xr-x    5 root    root      416 Feb 23 12:10 lib64
drwxr-xr-x    5 root    root      152 Feb 22 21:52 libexec
drwxr-xr-x    9 root    root      288 Feb 21 03:11 local
lrwxrwxrwx    1 root    root       12 Feb 22 01:28 man -> ../share/man
drwxr-xr-x  139 portage portage  4120 Feb 22 18:41 portage
drwxr-xr-x    3 root    root       72 Feb 21 13:48 qt
drwxr-xr-x    2 root    root     3528 Feb 22 21:40 sbin
drwxr-xr-x  110 root    root     3016 Feb 23 14:30 share
drwxr-xr-x    3 root    root      136 Feb 21 04:38 src
lrwxrwxrwx    1 root    root        8 Feb 21 03:11 tmp -> /var/tmp
drwxr-xr-x    7 root    root      176 Feb 21 01:44 x86_64-pc-linux-gnu


/usr/lib is a dir now. Is that right?

What's with /usr/lib32 and /usr/lib64 and /usr/X11R6
I assume I have to copy the content of /usr/lib to /usr/lib64 and symlink /usr/lib to /usr/lib64. Is that right?

Next odd things:
Code:

ls /usr/lib64/ -l
total 3214
drwxr-xr-x  3 root root     352 Feb 22 01:30 X11
lrwxrwxrwx  1 root root      31 Feb 23 12:10 libGL.a -> /usr/lib/opengl/ati/lib/libGL.a
-rw-r--r--  1 root root 1417668 Feb 23 12:09 libGL.a.bak
-rw-r--r--  1 root root     745 Feb 21 05:30 libGL.la
lrwxrwxrwx  1 root root      32 Feb 23 12:10 libGL.so -> /usr/lib/opengl/ati/lib/libGL.so
lrwxrwxrwx  1 root root      12 Feb 23 12:10 libGL.so.1 -> libGL.so.bak
-rwxr-xr-x  1 root root  952219 Feb 23 12:09 libGL.so.bak
-rw-r--r--  1 root root  555112 Feb 21 11:46 libXaw3d.a
lrwxrwxrwx  1 root root      15 Feb 21 11:46 libXaw3d.so -> libXaw3d.so.8.0
lrwxrwxrwx  1 root root      15 Feb 21 11:46 libXaw3d.so.8 -> libXaw3d.so.8.0
-rwxr-xr-x  1 root root  350640 Feb 21 11:46 libXaw3d.so.8.0
drwxr-xr-x  3 root root      80 Feb 22 01:30 modules
drwxr-xr-x  2 root root      48 Feb 21 05:30 tls
hings:

I changed the libGL.a and the libGL.so symlink because these were broken. Is this correct now?
Back to top
View user's profile Send private message
Xanoxt R'rilander
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 82
Location: Russian Federation, Moscow

PostPosted: Wed Feb 23, 2005 9:08 pm    Post subject: Reply with quote

After emerging xorg-x11 6.8.2 (that was the only change on the system), gcc doesn't work anymore.

And yeah, I am having all the same problems as you do.

In any case, emerge 6.8.2->6.8.0 does not return the system into the same state as it was before emerging 6.8.2, that should probably be also bugrepped?
_________________
Athlon64 3000, 1024Mb Ram, Radeon 9250, Gentoo: Xfce 4.2.2, WMII
Back to top
View user's profile Send private message
Xanoxt R'rilander
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 82
Location: Russian Federation, Moscow

PostPosted: Wed Feb 23, 2005 10:15 pm    Post subject: Reply with quote

Hmm, I am wondering if adding all those new dirs that used to be symlinks to the path variables might solve the problems that the 6.8.2 causes?
_________________
Athlon64 3000, 1024Mb Ram, Radeon 9250, Gentoo: Xfce 4.2.2, WMII
Back to top
View user's profile Send private message
SPY_jmr1
n00b
n00b


Joined: 02 Jan 2004
Posts: 62

PostPosted: Wed Feb 23, 2005 10:41 pm    Post subject: Reply with quote

I just checked mine, and its "WTF"ed too...

Any ideas how to set this to right? I just tried a vmware gsx install and it went nuts on me...

:cry: Any ideas?
Back to top
View user's profile Send private message
knue
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 139

PostPosted: Wed Feb 23, 2005 11:16 pm    Post subject: Reply with quote

I would be glad if some with a 100% working system without having emerged xorg-2.8.2 but xorg-2.8.0 could do the following and post the result:

Code:

# ls /usr -l
# ls /usr/lib64 -l


If I understand jimbothigpen properly /usr/lib should be a simlink not a dir...
I also have problems with my xorg:
startx works, xdm works.
/etc/init.d/xdm start
works (with kde-3.3.2)
BUT: if I use kdm I get with
/etc/init.d/xdm start
the kdm-login manager. As soon as I want to start kde the x-server crashes. An as I said: no problem with xdm.
If I load "dri" in my xorg.conf the x-server won't start and crashes my system.
I wonder if all this has ado with broken symlinks etc...


Last edited by knue on Wed Feb 23, 2005 11:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Xanoxt R'rilander
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 82
Location: Russian Federation, Moscow

PostPosted: Wed Feb 23, 2005 11:22 pm    Post subject: Reply with quote

I think one of the ways to go around it is unmerge xorg. Look in the stage tarball. Move stuff around so it is the same way as in stage tarball. Emerge xorg back. (quickpkg before unmerging).

But... Im too lazy to try. Some stuff works, and I'll go around fixing later. :)
_________________
Athlon64 3000, 1024Mb Ram, Radeon 9250, Gentoo: Xfce 4.2.2, WMII
Back to top
View user's profile Send private message
Xanoxt R'rilander
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 82
Location: Russian Federation, Moscow

PostPosted: Thu Feb 24, 2005 6:15 am    Post subject: Reply with quote

Also I noticed such a thing:
Code:
#gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.2
[2] x86_64-pc-linux-gnu-3.4.2-hardened
[3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
[4] x86_64-pc-linux-gnu-3.4.3 *
[5] x86_64-pc-linux-gnu-3.4.3-hardened
[6] x86_64-pc-linux-gnu-3.4.3-hardenednopie
[7] x86_64-pc-linux-gnu-3.4.3-hardenednossp
bash-2.05b# gcc-config 1
 * Switching to x86_64-pc-linux-gnu-3.4.2 compiler...

 * Your gcc has a bug with GCC_SPECS.
 * Please re-emerge gcc.
 * http://bugs.gentoo.org/show_bug.cgi?id=68395

gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory              [ ok ]
 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

bash-2.05b# gcc-config 4
 * Switching to x86_64-pc-linux-gnu-3.4.3 compiler...                     [ ok ]
 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile


Update: moving lib to lib64, and making lib -> lib64 solves the gcc problem. :)
_________________
Athlon64 3000, 1024Mb Ram, Radeon 9250, Gentoo: Xfce 4.2.2, WMII
Back to top
View user's profile Send private message
MrIch
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 204

PostPosted: Sat Feb 26, 2005 11:54 am    Post subject: Reply with quote

could you please post the working directory list?

I just emerged Xorg 6.8.2 and ati-drivers but xorg doest not find the fglrx modul... I think this problem could be related to you problems...
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 764
Location: Hoofddorp / The Netherlands

PostPosted: Sat Feb 26, 2005 3:31 pm    Post subject: Reply with quote

In /usr, lib64 should be a symlink to lib. Somehow xorg 6.8.2 managed to make it a real directory where it put its files. :evil:

Ok, here is how i solved this problem.

Make backups of your /usr/lib and /usr/lib64 directories. Now copy all the files that are in /usr/lib64 to /usr/lib including directories!
Code:
cp -R /usr/lib64/* /usr/lib/
Next is to mv the old lib64 directory to lib64-old and make a symlink
Code:
ln -s lib lib64
Now all should be working again as normal also xorg finding the fglrx module :lol:

Directory listing, working :wink:
Code:
lrwxrwxrwx    1 root    root       6 Feb 18 11:59 X11R6 -> ../usr
drwxr-xr-x    2 root    root    1232 Feb 26 16:06 bin
lrwxrwxrwx    1 root    root       9 Feb 17 21:53 doc -> share/doc
drwxr-xr-x  156 root    root     379 Feb 26 01:39 include
lrwxrwxrwx    1 root    root      10 Feb 17 21:53 info -> share/info
drwxr-xr-x   67 root    root    1300 Feb 26 16:17 lib
drwxr-xr-x   66 root    root    1104 Feb 26 16:17 lib-old
lrwxrwxrwx    1 root    root      25 Feb 18 11:59 lib32 -> ../emul/linux/x86/usr/lib
lrwxrwxrwx    1 root    root       3 Feb 26 16:15 lib64 -> lib
drwxr-xr-x    7 root    root     208 Feb 26 16:15 lib64-old
drwxr-xr-x    7 root    root      54 Feb 26 16:06 libexec
drwxr-xr-x   10 root    root      13 Feb 18 01:30 local
lrwxrwxrwx    1 root    root       9 Feb 17 21:53 man -> share/man
drwxr-xr-x  139 portage portage  143 Feb 25 17:47 portage
drwxr-xr-x    2 root    root     151 Feb 26 00:07 sbin
drwxr-xr-x  135 root    root     140 Feb 26 01:37 share
drwxr-xr-x    5 root    root       7 Feb 24 23:03 src
lrwxrwxrwx    1 root    root       8 Feb 18 01:29 tmp -> /var/tmp
drwxr-xr-x    6 root    root       6 Feb 26 00:03 x86_64-pc-linux-gnu

_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today


Last edited by infirit on Sun Feb 27, 2005 12:18 am; edited 1 time in total
Back to top
View user's profile Send private message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Sat Feb 26, 2005 6:15 pm    Post subject: Reply with quote

[quote="knue"]I would be glad if some with a 100% working system without having emerged xorg-2.8.2 but xorg-2.8.0 could do the following and post the result:

Code:

# ls /usr -l
# ls /usr/lib64 -l


Code:

emerge -p xorg-x11
[ebuild   R   ] x11-base/xorg-x11-6.8.0-r4

# ls /usr -al
total 157
drwxr-xr-x   18 root root    600 Feb 20 22:33 .
drwxr-xr-x   21 root root    656 Feb 19 22:42 ..
-rw-r--r--    1 root users     0 Feb 12 22:32 .keep
drwxr-xr-x    6 root users   216 Feb 13 00:33 X11R6
drwxr-xr-x    2 root users 53072 Feb 26 10:06 bin
lrwxrwxrwx    1 root root      9 Feb 12 22:32 doc -> share/doc
drwxr-x---    3 root users    72 Jan 16 16:26 games
drwxr-xr-x  172 root users 16952 Feb 26 10:03 include
lrwxrwxrwx    1 root root     10 Feb 12 22:32 info -> share/info
drwxr-xr-x    3 root users    72 Jan  7 19:15 kde
drwxr-xr-x   87 root users 75368 Feb 26 10:05 lib
lrwxrwxrwx    1 root root     23 Feb 18 07:52 lib32 -> /emul/linux/x86/usr/lib
lrwxrwxrwx    1 root users     3 Jan  6 00:59 lib64 -> lib
drwxr-xr-x    5 root users   376 Feb 13 13:28 libexec
drwxr-xr-x   17 root users   512 Feb 12 22:32 local
lrwxrwxrwx    1 root root      9 Feb 12 22:32 man -> share/man
drwxr-xr-x  139 root users  4120 Feb 25 18:38 portage
drwxr-xr-x    4 root users   104 Jan 17 00:24 qt
drwxr-xr-x    2 root users  5696 Feb 26 10:06 sbin
drwxr-xr-x  166 root users  4432 Feb 26 09:55 share
drwxr-xr-x    3 root users   192 Feb 12 22:09 src
lrwxrwxrwx    1 root root     10 Feb 12 22:32 tmp -> ../var/tmp
drwxr-xr-x    5 root users   120 Oct 27 23:27 x86_64-pc-linux-gnu
# ls /usr/lib64 -al
lrwxrwxrwx  1 root users 3 Jan  6 00:59 /usr/lib64 -> lib

_________________
* most bugs can be reduced to either dependency or state *

Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3
Back to top
View user's profile Send private message
wylbur
n00b
n00b


Joined: 22 Mar 2003
Posts: 47
Location: 32C, an aisle seat near the back

PostPosted: Sat Feb 26, 2005 7:15 pm    Post subject: Reply with quote

infirit,

shouldn't the symlink cmd be the other way 'round? If I understand your /usr directory listing correctly, I think it should look like this:
Code:

ln -s /usr/lib /usr/lib64


I took your suggestion and I was able to emerge qt, which was crashing b/c it couldn't find the XRandR, XCursor, etc libs. thanks -- wylbur.
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 764
Location: Hoofddorp / The Netherlands

PostPosted: Sun Feb 27, 2005 12:22 am    Post subject: Reply with quote

wylbur wrote:
shouldn't the symlink cmd be the other way 'round? If I understand your /usr directory listing correctly, I think it should look like this:
Code:

ln -s /usr/lib /usr/lib64
Oops, sorry about that..... it should be ln -s lib lib64 :oops:
I corrected the post to reflect this, thanks for pointing this out :wink:
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
SPY_jmr1
n00b
n00b


Joined: 02 Jan 2004
Posts: 62

PostPosted: Sun Feb 27, 2005 6:37 am    Post subject: Reply with quote

Hrm...

Following along with the "fix", gcc decided to go t*ts up on me! 8O

Thank god for backups, but I mean... Huh? Why did fixing it break it, and breaking it results in a perfectly decent system... :?

Heh... Just addin' my input :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum