PDA

View Full Version : Cannot compile


fault
04-20-2007, 08:36 AM
/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [world] Error 1
make[1]: Leaving directory `/root/Desktop/EQEmu-0.7.0-992/world'
make: *** [all] Error 2


I have perl installed i bleieve it is 5.8.x or something. What could be the issue?

Angelox
04-20-2007, 11:30 AM
What distro are you using?

On mine, I had to find where my libperl.so was and had to place a link to it in /usr/lib/.

ln -s /usr/lib/perl5/5.8.8/i386-linux/CORE/libperl.so /usr/lib/libperl.so

Also, I had to install another package, I think it was the Perl developer package (perl-devel-whatever)

use slocate to find your libperl.so
slocate libperl.so