LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   perl compile failed (https://www.linuxquestions.org/questions/linux-from-scratch-13/perl-compile-failed-4175694769/)

chinnadas 05-05-2021 08:57 PM

perl compile failed
 
1 Attachment(s)
Hi,


i have try to build linuxfromscartch-systemd 9.0 while compiling perl-5.30.0 getting error plz help me regarding. error screenshot attached below.

and I got the following output:

/tools/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgdbm
collect2: error: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.** ERROR failed to execute do build
Error while compiling source codes
=> clearing cache
Error Failed to compile perl
ERROR failed to compile perl
Attachment 36314

hendrickxm 05-06-2021 06:36 AM

What is your host? Are you still in chapter 5? It seems so but provide some info and the output of the version-check.sh.

Keith Hedger 05-06-2021 10:17 AM

look at the error you didn't install gdbm redo from at least the make/install of gdbm


All times are GMT -5. The time now is 05:25 AM.