Hello Thano,

Thank you for the quick answer.
As said in the email subject the book is LFS, the version is 7.10 and the
Host is a virtual machine with Ubuntu 12.04 LTS.
The Oracle VM Virtualbox is running on Windows 10.

In Perl when running make i get the following error which occurs a lot of
times (more than 50); right after when make runs miniperl:

cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall
-Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings
time64.c
cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall
-Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings
miniperlmain.c
cc -fstack-protector-strong -L/usr/local/lib -o miniperl \
    opmini.o perlmini.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o
mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o
scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o
universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o
pp_pack.o pp_sort.o caretx.o dquote.o time64.o  miniperlmain.o  -lm
/tools/lib/libcrypt.a
./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo
>&2 Failed to build miniperl.  Please run make minitest; exit 1'
*sh: error while loading shared libraries: libreadline.so.6: cannot open
shared object file: No such file or directory*
./miniperl -Ilib -f write_buildcustomize.pl
./miniperl -Ilib configpm
written lib/Config.pod
updated lib/Config.pm
updated lib/Config_heavy.pl
./miniperl -Ilib make_ext.pl cpan/Archive-Tar/pm_to_blib  MAKE="make"
LIBPERL_A=libperl.a
make[1]: Entering directory '/sources/perl-5.24.0/cpan/Archive-Tar'
Makefile out-of-date with respect to ../../lib/Config.pm ../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
"../../miniperl" "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
"INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
"LIBPERL_A=libperl.a"


*sh: error while loading shared libraries: libreadline.so.6: cannot open
shared object file: No such file or directorysh: error while loading shared
libraries: libreadline.so.6: cannot open shared object file: No such file
or directory*

Thank you





On 24 February 2018 at 23:36, Thanos Baloukas <baloukast...@sch.gr> wrote:

> On 02/24/2018 10:37 PM, Νίκος Λαμπόβας wrote:
>
>> Hello,
>>
>> when running make in 6.40 in Perl i get the following error a lot of
>> times:
>>
>> sh: error while loading shared libraries: libreadline.so.6: cannot open
>> shared object file: No such file or directory
>>
>> Before running make for 6.33 Bash this was the output of ldconfig:
>>
>> ldconfig -p | grep libreadline
>>      libreadline.so.6 (libc6) => /lib/libreadline.so.6
>>      libreadline.so (libc6) => /usr/lib/libreadline.so
>>
>> After running make of 6.33 Bash i executed "exec /bin/bash --login +h" as
>> the doc says the new bash with readline was in place.
>>
>> root:/# echo $0
>> /bin/bash
>> root:/# ldd /bin/bash
>>      linux-gate.so.1 (0xb77c7000)
>>      libreadline.so.6 => /lib/libreadline.so.6 (0xb7783000)
>>      libhistory.so.6 => /lib/libhistory.so.6 (0xb7778000)
>>      libncursesw.so.6 => /lib/libncursesw.so.6 (0xb770d000)
>>      libdl.so.2 => /lib/libdl.so.2 (0xb7708000)
>>      libc.so.6 => /lib/libc.so.6 (0xb7551000)
>>      /tools/lib/ld-linux.so.2 (0xb77c8000)
>>
>> I dont know why i am getting this error. Any help?
>>
>> Thanks a lot
>> Nikos
>>
>> Which book? Which version? Which host?
>
> --
> Thanos
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to