Results 1 to 4 of 4

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

  1. #1
    Join Date
    Mar 2006
    Location
    Bucharest
    Beans
    604

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

    I'm trying to install OpenMortal which is a Mortal Kombat clone. The problem is that after the "make" command it does something and then I get an error:
    Code:
    /usr/bin/ld: cannot find -lperl
    collect2: ld returned 1 exit status
    make[1]: *** [openmortal] Error 1
    make[1]: Leaving directory `/home/christmas/openmortal-0.7/src'
    make: *** [install-recursive] Error 1
    The same goes with other programs. What is this lperl and how should I get rid of this error?

  2. #2
    Join Date
    Mar 2006
    Beans
    228

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

    Code:
    sudo apt-get install libperl-dev
    Umm..also check you have libperl installed, if you haven't already

    Hope that helps

    edit: perl is a programming language
    Last edited by Footissimo; June 28th, 2006 at 12:32 AM.

  3. #3
    Join Date
    Mar 2006
    Location
    Bucharest
    Beans
    604

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

    Thanks a lot, that made it.
    Quote Originally Posted by Footissimo
    edit: perl is a programming language
    Yep I know that, I didn't know what should I install to make it work.

  4. #4
    Join Date
    Feb 2006
    Location
    /Japan/Tokyo/Itabashi
    Beans
    39
    Distro
    Ubuntu 8.10 Intrepid Ibex

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

    Installing the above sure helped my problem! thanks. For reference, I was installing ImageMagick.
    Thanks!
    No nation ever taxed itself into prosperity.
    -Rush Limbaugh III

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •