View previous topic :: View next topic |
Author |
Message |
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Wed May 21, 2008 1:07 pm Post subject: broken python after emerge -eav system[solved] |
|
|
Hi-
I ran emerge -eav system and ended up with a broken python.
I've tried to run the following with no avail:
Code: |
python-updater
portageq portdir
emerge portage
revdep-rebuild |
All attempts end with python spitting back the following error message:
Code: | /usr/bin/python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init |
Any ideas on how to go about getting python working again?
Code: | raccoon me # python-updater
/usr/bin/python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init
/usr/bin/python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init
* Unable to proceed. Can not find PORTDIR. Make sure the command:
*
* portageq portdir
*
* returns a value. If it doesn't, make sure you have updated to
* latest portage version.
*
* Report bugs to http://bugs.gentoo.org/
raccoon me # portageq portdir
/usr/bin/python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init
raccoon me # emerge --sync
/usr/bin/python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init
raccoon me # python -v
python: symbol lookup error: /usr/lib/libpython2.4.so.1.0: undefined symbol: sem_init
raccoon me # ls -l /usr/bin/python*
lrwxrwxrwx 1 root root 9 May 20 08:02 /usr/bin/python -> python2.4
lrwxrwxrwx 1 root root 17 May 20 08:02 /usr/bin/python-config -> python-config-2.4
-rwxr-xr-x 1 root root 1624 May 20 08:00 /usr/bin/python-config-2.4
lrwxrwxrwx 1 root root 9 May 20 08:02 /usr/bin/python2 -> python2.4
-rwxr-xr-x 1 root root 5296 May 20 08:01 /usr/bin/python2.4
|
NOTE: I recently switched my CPU from a Celeron 1.0Ghz to a Via C7 1.5Ghz and updated my CFLAGS
Cheers,
Last edited by newtonian on Sun May 25, 2008 4:52 am; edited 1 time in total |
|
Back to top |
|
|
weisso5 Apprentice
Joined: 07 Dec 2007 Posts: 268 Location: NYC
|
|
Back to top |
|
|
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
|
Back to top |
|
|
|