Pergunta

I need the linker ld which is in the binutils package. But the server I work remotely on has already an ld version but it is too old.

If I do

sudo apt-get install binutils

will this replace the old one and possibly mess up with other users who need this old version ?

If yes, how do I get a ld just for me ?

Foi útil?

Solução

It will update ld for all users sharing the same standart /bin and /usr/bin, unless they're living in chroot, then it will not affect them at all.

You can take updated binary and put in another place (which should be in your PATH), so you may mkdir ~/.bin, add it to PATH before all other directories and use fresh ld.

But that way is weak, 'cause you will need update it manually every time you wish to update ld.

So, best way is to keep all users on server in their own chroots (that also increase security, 'cause your code separated from their and vice versa) and update ld in your chroot, when you need it.

Outras dicas

Yes, it will replace the current version of ld

binutils package contains: libc6 (>= 2.11)

zlib1g (>= 1:1.1.4)

so i think you need to update ld manually

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top