unable to compile perl program. /usr/bin.ld cannot find -lperl.

Asked by murajashekar2003

A simple program in perl needs to be compiled.

It says

cc4Qzdj.c: In function ‘perl_init_aaaa’:
pcc4Qzdj.c:3393: warning: this decimal constant is unsigned only in ISO C90
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#1

Did you install the perl library?

sudo apt-get install libperl-dev

Revision history for this message
murajashekar2003 (raju-apm) said :
#2

cool...thanks Cesare..now started with PERL codes.. :)

On 7/17/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #9893 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/9893
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Did you install the perl library?
>
> sudo apt-get install libperl-dev
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/9893/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/9893
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
I love walking in the rain, Coz no one can see me crying..

Revision history for this message
murajashekar2003 (raju-apm) said :
#3

Thanks Cesare Tirabassi, that solved my question.