[lfs-support] 6.17.1. Installation of GCC

Krzysztof Kluczynski kkluczynski at gmail.com
Fri Dec 16 05:10:15 PST 2016


While compiling gcc I encounter errors during make :

configure:3462: /sources/gcc-6.2.0/build/./gcc/xgcc
-B/sources/gcc-6.2.0/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include
-isystem /usr/x86_64-pc-linux-gnu/sys-include    -o conftest -g -O2
conftest.c  >&5
/sources/gcc-6.2.0/build/./gcc/cc1: error while loading shared libraries:
libz.so.1: cannot open shared object file: No such file or directory

I installed zlib in a previous step and the files are in /usr/lib and /lib,

root:/sources/gcc-6.2.0/build/x86_64-pc-linux-gnu/libgcc# find / -name libz*
/usr/lib/libz.a
/usr/lib/libz.so.1
/usr/lib/libz.so
/lib/libz.so.1
/lib/libz.so.1.2.8


Could you please advise.

Thanks
Krzysztof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20161216/cfa480b1/attachment.html>


More information about the lfs-support mailing list