Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whats the recommended way to install self-compiled libraries? The libraries are supposed to replace existing ubuntu packages. Of course I want that the apt dependencies to be fullfilled. The sources for the libraries are not the ones provided by ubuntu. And I want other software to find the libraries so I would put them into the same path by overwriting existing files provided by the corresponding packages. Is this too dirty? Specifically I want to compile webkit libraries for qt since the ones provided by kubuntu are way too old.

share|improve this question

migrated from stackoverflow.com Mar 15 '12 at 22:43

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

up vote 0 down vote accepted

You shouldnt mess with the libraries installed by the distro. Esp., you should not replace them with your own version as this can break many things.

You can install your own libraries in a non-system location (side by side install) and use LD_PRELOAD for pre-built binaries or if you are compiling your own apps as well, link them with your libraries.

share|improve this answer
add comment

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.