On 02/05/2014 06:12 AM, Bruce Dubbs wrote:
> Armin K. wrote:
>> On 02/04/2014 11:19 PM, Bruce Dubbs wrote:
>>> Armin K. wrote:
> 
>>> The disable- prevents e2fsprogs from building/installing libuuid and
>>> libblkid, but it still needs them and with the change and at this point
>>> in building packages in Chapter 6, it needs the PKG_CONFIG_PATH to find
>>> the libraries.  Somewhere in the process, install I think, a program is
>>> executed that needs to find libuuid, libblkid, so that's why the
>>> PKG_CONFIG_PATH is exported.
>>>
>>
>> No, no. I know why is PKG_CONFIG_PATH necessarry, but I don't know why
>> is it necessary to do
>>
>> export PKG_CONFIG_PATH=blah
>> ./configure --blah
>> unset PKG_CONFIG_PATH
>>
>> instead of
>>
>> PKG_CONFIG_PATH=blah ./configure blah
>> or
>> ./configure blah PKG_CONFIG_PATH=blah
> 
> In my test logs I have:
> 
> +../e2fsck/e2fsck: error while loading shared libraries: libblkid.so.1: 
> cannot open shared object file: No such file or directory
> 
> I got this even with the export.  I'll investigate tomorrow.  It may be 
> that I need to export LD_LIBRARY_PATH instead of PKG_CONFIG_PATH.
> 
>    -- Bruce
> 

As I said in my original mail, LD_LIBRARY_PATH didn't work for me, but
yet I didn't export it before the build. The check script seems to set
LD_LIBRARY_PATH to something else.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to