[blfs-support] A question about dependencies

William Harrington kb0iic at berzerkula.org
Sat Dec 7 12:21:57 PST 2013


On Dec 7, 2013, at 2:12 PM, Niels Terp wrote:

> To be more clear: will the compiled files be the same if recommended  
> deps is
> installed later rather than before ?

If the recommended deps are runtime, then no. Example, if some package  
wants sendmail or lynx or curl.

If the recommended deps are libraries, then yes, the results will be  
different if you installed the recommended libraries before building  
the application than installing the recommended dep later.

Here is an example:

Grep can use pcre.

If you install pcre after grep ( as pcre is not in main LFS book) then  
grep will not build using pcre and won't link to libpcre, as well.
If you install pcre before grep, then grep will use and link to libpcre.

Also, a package's /etc/<confname> may be generated based on what deps  
are found to, and when you install the recommended deps later, the  
generated config will not reflect it.

After installing recommended deps, and you want an application to use  
them, you need to rebuild the application.

Sincerely,

William Harrington



More information about the blfs-support mailing list