Operating System - Linux
1828631 Members
8650 Online
109983 Solutions
New Discussion

Error building Mindi source

 
Geetha_1
Regular Advisor

Error building Mindi source

I am trying to create mindi binary (as part of the mondo rescue package). I get the following error on install.

/usr/bin/ld: cannot find -lperl

How can I get fix this problem? busybox and parted2fdisk did install and are in the path, not sure why it complains. Thanks in advance. Geetha

---------------------------------------
./install.sh
mindi 1.2.0-r892 will be installed under /usr/local
Creating target directories ...
Copying files ...
chmod: cannot access `/usr/local/lib/mindi/rootfs/bin/*': No such file or directory
WARNING: no busybox found, mindi will not work on this arch (ia64)
perlcc parted2fdisk.pl -c -o parted2fdisk.c
cc -O -static -s -I/usr/lib/perl5/5.8.5/ia64-linux-thread-multi/CORE -o parted2fdisk parted2fdisk.c -L/usr/lib/perl5/5.8.5/ia64-linux-thread-multi/CORE -lperl -lm -lcrypt /usr/lib/perl5/5.8.5/ia64-linux-thread-multi/auto/DynaLoader/DynaLoader.a -lpthread -ldl
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [parted2fdisk] Error 1
WARNING: no parted2fdisk found, mindi will not work on this arch (ia64)
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Error building Mindi source

For this error:

"/usr/bin/ld: cannot find -lperl"

Try adding a link with name libperl.so wich points to libperl.so.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Error building Mindi source

Shalom,

Seems that perl can't be found on the PATH

Find out where perl is, whereis perl

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geetha_1
Regular Advisor

Re: Error building Mindi source

I did put in a link from /usr/lib to the path of libperl.so

lrwxrwxrwx 1 root root 60 Mar 19 14:19 libperl.so -> /usr/lib/perl5/5.8.1/ia64-linux-thread-multi/CORE/libperl.so*

and included the path of the library. Didn't help. Thx.