View previous topic :: View next topic |
Author |
Message |
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Sat Dec 04, 2004 9:58 am Post subject: x relocation error |
|
|
I've just updated to the newest kernel-headers (2.6.8-r1) and as suggested recomplied glibc. Just rebooted and I'm getting the following error :
Code: | x relocation error: X symbol --guard, version GLIBC.2.3.2 not defined in file libc.so.6
with link time reference] |
Erm help
Xorg isn't starting up, I'm rooting about for what has caused this - does this seem familar to anybody ?
Cheers for any help
Jon |
|
Back to top |
|
|
cca n00b
Joined: 07 Jun 2004 Posts: 38 Location: Greece
|
Posted: Sat Dec 04, 2004 11:53 am Post subject: |
|
|
I encountered the same problem. Until an explanation is found, I will go back to linux26-headers-2.6.8.1 and re-emerge glibc. The -r1 release has security fixes I believe, but what good is security if the system is unusable??? |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Sat Dec 04, 2004 12:08 pm Post subject: |
|
|
In the end I used a backup, taken last night, Dar - that's twice it's saved my bacon
Anybody else having this ? |
|
Back to top |
|
|
jarealist Apprentice
Joined: 07 Oct 2002 Posts: 228
|
Posted: Sat Dec 04, 2004 12:22 pm Post subject: |
|
|
Same here. Kind of odd that the error message refers to version GLIBC.2.3.2 when I have version 2.3.4. Reinstalled linux26-headers-2.6.8.1 and re-emerging glibc now. Hope it works or I'll be doing a backup. Maybe a bug report is in order? |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
|
Back to top |
|
|
cca n00b
Joined: 07 Jun 2004 Posts: 38 Location: Greece
|
Posted: Sat Dec 04, 2004 12:43 pm Post subject: |
|
|
Unfortunately, reverting to older version of the headers and re-emerging glibc did not fixed it for me, will try re-emerging Xorg now. |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Sat Dec 04, 2004 12:45 pm Post subject: |
|
|
cca wrote: | Unfortunately, reverting to older version of the headers and re-emerging glibc did not fixed it for me, will try re-emerging Xorg now. |
I tried that - Xorg screwed up on the compile with various errors. |
|
Back to top |
|
|
cca n00b
Joined: 07 Jun 2004 Posts: 38 Location: Greece
|
Posted: Sat Dec 04, 2004 12:55 pm Post subject: |
|
|
This is really bad news, if reverting to older headers does not fix the problem, and re-emerging Xorg causes errors too, then something really fishy is going on. I suspect than some other update we had recently could cause this but I don't have a clue which one could be responsible. Xorg is emerging right now here, I will update this if it causes compile errors here too. |
|
Back to top |
|
|
cca n00b
Joined: 07 Jun 2004 Posts: 38 Location: Greece
|
Posted: Sat Dec 04, 2004 3:13 pm Post subject: |
|
|
Xorg has spitted out errors here too. Something is seriously broken. Recompiling glibc does not work, neither recompiling Xorg. I am at a loss, my X server is unusable until this is solved. |
|
Back to top |
|
|
bassvandijk Guru
Joined: 13 Sep 2002 Posts: 306 Location: Haps, Netherlands
|
Posted: Sat Dec 04, 2004 4:22 pm Post subject: |
|
|
I have the same problem:
Reemerging xorg-x11 gives me the following error:
Code: | ...
...undefined reference to '__stack_smash_handler'
...undefined reference to '__guard'
... |
|
|
Back to top |
|
|
Sodki Guru
Joined: 11 Aug 2003 Posts: 419 Location: London, U.K. & Lisbon, Portugal
|
Posted: Sat Dec 04, 2004 4:38 pm Post subject: |
|
|
bassvandijk wrote: | I have the same problem:
Reemerging xorg-x11 gives me the following error:
Code: | ...
...undefined reference to '__stack_smash_handler'
...undefined reference to '__guard'
... |
| i believe that is the same error that keeps xorg from loading. i have this problem too and i have tried reverting to the old linux26-headers and reemerging glibc and xorg to no avail. the thing is broken and i don't know where. |
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sat Dec 04, 2004 5:51 pm Post subject: |
|
|
Same problem here!!!!
H E E E E E L P _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
MWraith n00b
Joined: 07 Feb 2004 Posts: 21
|
Posted: Sat Dec 04, 2004 6:31 pm Post subject: |
|
|
I also have this problem |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Sat Dec 04, 2004 6:56 pm Post subject: |
|
|
Sodki wrote: | bassvandijk wrote: | I have the same problem:
Reemerging xorg-x11 gives me the following error:
Code: | ...
...undefined reference to '__stack_smash_handler'
...undefined reference to '__guard'
... |
| i believe that is the same error that keeps xorg from loading. i have this problem too and i have tried reverting to the old linux26-headers and reemerging glibc and xorg to no avail. the thing is broken and i don't know where. |
For the record, I've re-emerged all packages from this morning (before the break), the new kernel r9, portmap all of them - except the new headers. The PC boots fine and xorg works as well.
Edit - meant to say the new headers and the recompile of glibc. I suppose the next thing is to recompile glibc now (without emerging the new headers) - just in case something from the past couple of emerges or so is causing this. |
|
Back to top |
|
|
nein Guru
Joined: 14 Nov 2003 Posts: 346 Location: Spain
|
Posted: Sat Dec 04, 2004 9:06 pm Post subject: |
|
|
I have the same problem since this morning. I updated cdrdao, the kernel to version 2.6.9-r9 , portmap and of course the kernel headers (reemerged glibc). I also reemerged the nvidia-kernel module.
As cdrdao and portmap do not seem to have anything to do with this, I reverted to the previous version of the headers (linux26-headers-2.6.8.1) and remerged glibc once again and also the nvidia-kernel module but the problem persists !!
I have tried my with my previous kernel 2.6.9-r8 with the same result. What is happening ?? |
|
Back to top |
|
|
bassvandijk Guru
Joined: 13 Sep 2002 Posts: 306 Location: Haps, Netherlands
|
Posted: Sat Dec 04, 2004 10:11 pm Post subject: |
|
|
Xavier from the bug report says that prelinking your system helps.
I'm prelinking right now... |
|
Back to top |
|
|
cca n00b
Joined: 07 Jun 2004 Posts: 38 Location: Greece
|
Posted: Sat Dec 04, 2004 10:30 pm Post subject: |
|
|
Well, I decided to try the risky approach, and emerge xorg-x11-6.8.0-r4. And it worked! But beware, this is a hardmasked ebuild, it requires manual unmasking, and it has some new USE flags, most important one being the font-server, without it the X-font server won't be build. My configuration of the X is simple, so I don't have problems so far with 6.8.0-r4, but it may not be so for everyone, but if you have nothing to lose.... |
|
Back to top |
|
|
Gerator n00b
Joined: 21 Apr 2003 Posts: 39
|
Posted: Sat Dec 04, 2004 10:34 pm Post subject: |
|
|
The prelink way made my box work again. But now it does some weird thing like it takes about 3-4 seconds to change between consoles (I mean Alt+Ctrl+Fx). _________________ Moving closer for a better view
looking for more than eyes can see |
|
Back to top |
|
|
MWraith n00b
Joined: 07 Feb 2004 Posts: 21
|
Posted: Sat Dec 04, 2004 11:10 pm Post subject: |
|
|
bassvandijk wrote: | Xavier from the bug report says that prelinking your system helps.
I'm prelinking right now... |
Thanks, that did the trick |
|
Back to top |
|
|
nein Guru
Joined: 14 Nov 2003 Posts: 346 Location: Spain
|
Posted: Sat Dec 04, 2004 11:16 pm Post subject: |
|
|
Altough prelinking seems to somehow "solve" the problem (based on the posts here and bugzilla), there must be a more general solution.
There is probably a problem when loading a library Xorg needs and thats why prelinking helps but , what is *really* happening ? |
|
Back to top |
|
|
evoweiss Veteran
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Sat Dec 04, 2004 11:34 pm Post subject: |
|
|
Hi all,
I had exactly the same problem, though I started another thread. I was actually trying to go from the 2.4 headers to the 2.6 headers (I am running the 2.6 kernel and decided to finally migrate so as to be up-to-date).
Well, in short, things didn't work out and the only solution was to go back to the 2.4 headers and re-emerge glibc (which, thankfully, I had the sense to backup via quickpkg ).
It seemed to me, based on the error code, that Xorg was looking for a different set of libraries (earlier?). Did anybody try using ldconfig?
Anyway, I'd appreciate it if folks post to this thread when the problem is resolved properly, i.e., where I can simply change my headers, re-emerge glibc with nptl, and have everything work as it should.
Best,
Alex |
|
Back to top |
|
|
serge Apprentice
Joined: 05 Jan 2003 Posts: 177
|
Posted: Sat Dec 04, 2004 11:54 pm Post subject: Tip: Styles can be applied quickly to selected text. |
|
|
After having the same problem and
having made a very bad mistake I had to reinstall everything: formatting partitions and installing from scratch.
Despite having installed the linux-headers for 2.4 , and running a kernel 2.6, I cannot emerge xorg-x11. How prelink may help me if I install from scratch? Yes, a fresh install meets this problem.
I am writing you from the links browser....
Serge |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Sun Dec 05, 2004 1:37 am Post subject: |
|
|
hurray for links.
just as a curiosity, try a gcc -v and post the output here. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
kmarasco n00b
Joined: 25 Jul 2003 Posts: 65 Location: Fernandina Beach, FL
|
Posted: Sun Dec 05, 2004 2:22 am Post subject: |
|
|
Having the same problem. I had a working system using the 2.6 headers for some time, but, after changing to more conservative cflags (which likely have nothing to do with this) and an emerge -evD world, it's all screwed up.
jarealist wrote: | Same here. Kind of odd that the error message refers to version GLIBC.2.3.2 when I have version 2.3.4. |
I too have glibc 2.3.4 but the error references GLIBC.2.3.2. I'm wondering if this could be as simple as a broken symlink somewhere? |
|
Back to top |
|
|
kmarasco n00b
Joined: 25 Jul 2003 Posts: 65 Location: Fernandina Beach, FL
|
Posted: Sun Dec 05, 2004 3:22 am Post subject: A possible solution? |
|
|
I looked at another thread regarding nptl and believe that I identified the problem and have a path to resolution.
In my case, I believe that I originally emerged nptl with the nptlonly use flag. During my most recent emerge, which included xorg, my use flags included nptl, but not nptlonly. Why does this screw things up?
When you DO NOT indicate the nptlonly flag, two instances of glibc are built, one under /lib and one under /lib/tls, where the /lib/tls instance includes support for nptl. The instance under /lib does not include nptl support.
However, if nptlonly is indicated in your use flags, a single instance of nptl is built under /lib with nptl support.
You can see how a program requiring glibc could become quite confused over the location of the program. Since the nptl instance is put in a different location based on your use flags
I believe, and am emerging now, that this can be resolved by either recompiling all of your current progs against the currently set use flags with the --newuse flag, or by changing your use flag back to include nptlonly and recompiling glibc with --newuse (assumimg the nptlonly flag was removed at some prior point. This is very likely if you followed the biggest nptl thread on the forum when convertiing to nptl.).
Good luck. |
|
Back to top |
|
|
|