LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2011, 01:47 PM   #1
eliote
Member
 
Registered: Jun 2010
Distribution: Ubuntu
Posts: 39

Rep: Reputation: 0
Missing Libraries during software compilation/installation?


Hello friends,

What could be the best solution for the problem I have been facing to lately? As I'm kinda paranoia in installing software from developers mirrors, I prefer to compile and then install from source tarball.
The issue is, as of every program/software needs its own libraries in order to perform; I was wondering what could be the best way to install required libraries?
thanks everybody in advance.

Last edited by eliote; 09-09-2011 at 01:52 PM.
 
Old 09-09-2011, 02:21 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
I can not understand perfectly your question, but are you talking about Ubuntu packages or programs out of main repository. Why you do not switch to Gentoo or derivatives?
 
Old 09-09-2011, 02:29 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
As I'm kinda paranoia in installing software from developers mirrors, I prefer to compile and then install from source tarball.
I suggest you edit your /etc/apt/sources.list to download only from the Ubunut repositories. If you feel you must compile the software yourself rather than install binary .deb files, in the sources.list, comment out the repositories which contain the binary .debs, and leave the repositories which provide the source code files. When you install packages, the only packages you download will be source packages to be compiled. Apt will also take care of downloading and installing the necessary libraries.

If you download source code from non-Ubuntu repositories to conpile and install, you will need to manually find, compile, and install the necessary libraries unless the libraries are provided by the site from which you download the source package..
 
Old 09-09-2011, 02:35 PM   #4
eliote
Member
 
Registered: Jun 2010
Distribution: Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by eSelix View Post
I can not understand perfectly your question, but are you talking about Ubuntu packages or programs out of main repository. Why you do not switch to Gentoo or derivatives?
I may haven't clearly represent the problem;Let me do this another way; The problem is about missing 'Linux Libraries' while I'm compiling third-party applications form the source! some of the modules from an application have been found not working since the the './configure' command detected that some of the libraries have not been installed or disabled in my linux box.

wish I had present it well this time.
 
Old 09-10-2011, 03:28 PM   #5
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Ok, now it is clear. I also occasionally had that "problem", but it is uncommon for developers to create installers (to self compile) which download/include needed libraries for you and commpile them - impractical. Often programmers contains in "readme" or "install" names of required libraries, often with site url, from where can be downloaded in the latest version.

If you want to be a paranoic you have to reckon with nuisances. For those who are not "paranoic" are package systems (which download dependencies for you) and prepared binaries.
 
Old 09-11-2011, 08:43 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,569

Rep: Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427
Can I ask a qn from a purely practical point of view? Are you REALLY going to sit down and go through each of those 3rd party Apps line-by-line of src and check for nasties? That's a very tedious & dull exercise which would take a very long time.
If you're not doing exactly that, there;s no pt in using src code compilation; it won't make you any safer.

If you are, then good on you, but it'd be very unusual.
 
Old 09-12-2011, 05:44 PM   #7
eliote
Member
 
Registered: Jun 2010
Distribution: Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by eSelix View Post
Ok, now it is clear. I also occasionally had that "problem", but it is uncommon for developers to create installers (to self compile) which download/include needed libraries for you and commpile them - impractical. Often programmers contains in "readme" or "install" names of required libraries, often with site url, from where can be downloaded in the latest version.

If you want to be a paranoic you have to reckon with nuisances. For those who are not "paranoic" are package systems (which download dependencies for you) and prepared binaries.
Thanks for reply eSelix though! I was just to make sure that there has been no common and simple way to do this kinda problem around, those who are obsessive about security issues would bear a real pain
 
Old 09-12-2011, 05:48 PM   #8
eliote
Member
 
Registered: Jun 2010
Distribution: Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Can I ask a qn from a purely practical point of view? Are you REALLY going to sit down and go through each of those 3rd party Apps line-by-line of src and check for nasties? That's a very tedious & dull exercise which would take a very long time.
If you're not doing exactly that, there;s no pt in using src code compilation; it won't make you any safer.

If you are, then good on you, but it'd be very unusual.
I'm not really that kinda guy who just sits and watches all the process to be done by Linux package manager and stuff! I want to get myself more and more involved with such these processes! would sounds like a Nympho...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xorg Libraries error compilation poisoning Linux From Scratch 3 04-16-2011 08:26 PM
mplayer does not use libraries at compilation isamuede Linux - Software 8 06-23-2008 05:09 PM
Cross compilation (QT libraries) using gcc for Windows arunak Programming 15 04-06-2007 02:12 AM
linking error during cross compilation with ucibc libraries raklo Linux - Kernel 0 03-26-2007 12:48 AM
Vim installation , missing terminal libraries rocketman8541 Linux - Desktop 3 08-28-2006 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration