Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an old program that kind of depends on older dynamic libraries. They tend to get upgraded easily with distro's updates. I figured that there would be a script with using ldd that would gather the libs needed and create one bigger, statically linked application that wouldn't break so easily. If I could do this, a lot of older KDE libraries could be removed from my system and easen my life. Thanks!

My distribution of choice is gentoo, but I'm looking for a general solution that doesn't depend on rebuilding anything. If it runs with libs on their path, I'm sure it can be made run with libs somewhere else!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I don't know about anything that statically links the old libraries, and I don't see how it would help. They'd still be on your system, just not as independent files (you'd have multiple copies instead).

But there is a tool, revdep-rebuild, that uses ldd to find applications needed old dynamic libraries and rebuilds them to use the newest shared library files. Which also allows you to delete the old ones.

You're not talking about some closed-source (horror!) binary-only (hysteria!) application needing old libraries, are you?

share|improve this answer
    
Heh, no. I'm not. I don't know how revdep-rebuild fits in the picture but I want to keep this question as general as possible. But at the moment revdep-rebuild hasn't solved my issue completely. –  progo Feb 24 '11 at 14:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.