I have Ubuntu 14.04 upgraded from 12.04 making dist-upgrades. I did many manual installations such as ffmpeg, libglib and so on, in the past. I have a nice custom distro now, it works well but I have problems while trying to compile applications. The errors I got taught me lots, I found how to deal with linker errors, I list some of them below:
how-can-i-guide-compiler-to-use-a-certain-library
how-to-fix-pkg-prog-pkg-config-command-not-found-error
pkg-config-modversion-glib-2-0-reports-older-version
how-to-fix-libgmodule-2-0-so-0-could-not-read-symbols-invalid-operation-erro
multiple-ffmpeg-library-paths-how-can-exclude-older-ffmpeg-installations
how-can-i-use-a-particular-library-while-compiling
I come to such a point that even I can get errors while compiling native Ubuntu applications such as unity (I want to embed unity launcher into cairo dock unity launcher in cairo dock)
How can I fix those library conflicts? I lost manually compiled application's directories so I have no chance to run make uninstall
.
I am fed up with adjusting library paths. What do you suggest me in this position?
/usr/local
prefix. You could try removing everything in thebin
,lib
, etc. folders. (Don't remove the folders themselves.) – saiarcot895 Jul 15 '14 at 14:45checkinstall
to simplify things, but this way you can avoid at least side conflicts and use them like the official packages. – muru Jul 15 '14 at 15:44avconv
in Trusty andlibglib
is in thelibglib2.0-0
package, with development headers inlibglib2.0-dev
. There's a good chance that the packages and libraries you want are in the main repos and that you don't need to compile them. As you just discovered, if you decide to compile your own version and have it not managed byapt
/dpkg
, you will have to recompile it as library versions and SONAMEs change. – saiarcot895 Jul 15 '14 at 19:34Simple Screen Recorder
https://github.com/MaartenBaert/ssr/issues/215 – kenn Jul 15 '14 at 19:50/usr/local
? (excluding the main folders) – saiarcot895 Jul 15 '14 at 19:52bandwidthd etc HTS-2.2beta lib man rvm share src bin games include libexec nagios sbin SPTK var
in/usr/local
– kenn Jul 15 '14 at 19:59bin
,etc
,games
,include
,lib
,man
,sbin
,share
, orsrc
folders; rather remove the files within them. You can (probably) keep any of the other folders and the files within them. – saiarcot895 Jul 15 '14 at 20:01Simple Screen Recorder
Would you please post it as an answer? It might be helpful to others. – kenn Jul 16 '14 at 14:06