How to fix broken symlinks...
Don Freeman

I'm trying out Sabayon Linux and for some reason or another, all of the symlinks for gcc and binutils are crap! I've reinstalled all the packages from the repository, but they are not fixed! Anyone know an "easy" fix then manually having to repair each and every symlink?

some examples:

i686-pc-linux-gnu-addr2line
i686-pc-linux-gnu-ar
i686-pc-linux-gnu-c++filt
i686-pc-linux-gnu-gprof
i686-pc-linux-gnu-ld
i686-pc-linux-gnu-nm
i686-pc-linux-gnu-objcopy
i686-pc-linux-gnu-objdump
i686-pc-linux-gnu-ranlib
i686-pc-linux-gnu-readelf
i686-pc-linux-gnu-size
i686-pc-linux-gnu-strings
i686-pc-linux-gnu-strip

Thomas Fjellstrom

delete the broken symlinks and then reinstall the packages?

ReyBrujo

Purge the package, maybe that helps removing the broken links.

Don Freeman

Thomas: I did that...and it did help for some of it, but not others.
ReyBrujo: Tried that too, but could not remove gcc-4.4.1 because it was a "protected and vital package" (even if it was broke I guess).

Thanks to both, but I got tired of trying to fix it (and possibly end up with other errors later), so I just reinstalled it. Luckily their installer was updated and it didn't die before it was done this time. I thought it was only the grub part that was jacked up, but apparently not... :( Hopefully everything will work correctly now. Again, thanks! 8-)

le_y_mistar

isnt sebayon a gentoo derivative?

i think i found the root of your problems, install windows 7

Don Freeman

Hahaha, I was waiting for you to say something about that. ;D Yeah, it's based on Gentoo. It's actually pretty slick (at least the 5 Oh version). And yes, I have Windows 7. :P

I found the problem anyway...seems that when I upgraded binutils, the package management system didn't update the symlinks. I had the same issue after the reinstall, but I fixed it all pretty easy. Now, just have to find out why I don't have any options for a sound card under Linux for Allegro....I have Alsa up and running. Oh well, another project to add to the todo list. Most of my stuff I'm working on is graphics related anyway, so it's not that big of an issue yet. ::)

Arthur Kalliokoski

i think i found the root of your problems, install windows 7

Isn't that like reinstalling DOS 6.0 to fix your USB problems?

Thread #602263. Printed from Allegro.cc