Re: Building crash for 'ARM' (32) on x86_64 (Ubuntu 17.04) fails, ld: cannot find -lz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Looks to me like it fails with
>>
>> /usr/bin/ld: cannot find -lz
>>
>> So, I did the usual checks; i have these 'libz' libs installed on the box:
>>
>> $ dpkg -l |grep "libz.*comp"
>> ii  libzstd-dev                                     1.1.2-1             amd64        fast lossless
>> compression algorithm -- development files
>> ii  libzstd1                                        1.1.2-1             amd64        fast lossless
>> compression algorithm
>> $
>>
>> What package(s) do I need to install to overcome this issue? / what am i doing wrong?
>> Any help appreciated, tia!
>>
>> Regards,
>> Kaiwan.


>I can't get into any specifics w/respect to Ubuntu package installation, but
>since you are actually building a 32-bit x86 binary with target=ARM, you need to
>have all of the required 32-bit i686 libraries installed.  So you will need to
>install a 32-bit zlib library.

>Dave

Yes! I installed the lib32z1-dev package (on Ubuntu 17.04), and it did
indeed build, and subsequently was able to examine the arm-32 kdump
file.
Thanks v much!

Regards,
Kaiwan.

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux