Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^8: broke my perl? :(

by megnetz (Novice)
on Aug 25, 2010 at 12:01 UTC ( #857174=note: print w/ replies, xml ) Need Help??


in reply to Re^7: broke my perl? :(
in thread broke my perl? :(

sure: /usr/bin/perl: a /gsc/bin/perl script text executable


Comment on Re^8: broke my perl? :(
Download Code
Re^9: broke my perl? :(
by rowdog (Curate) on Aug 25, 2010 at 18:03 UTC

    Then your system perl is still broken because /usr/bin/perl should be an ELF executable. I suggest you move your script out of the way and try apt-get --reinstall perl again.

    My advice is to always leave the system perl alone and install your own perl for your own use in a separate directory.

    Update: forgot -- on --reinstall as I usually use aptitude.

      Are you sure this is necessary? Can I test if my system perl is broken? Everything seems to work fine.

        I'm not sure that it's necessary to fix your Ubuntu installation but you will probably run into problems down the road if you don't. It used to be that your package manager would be broken by now but apt has been moving away from the perl dependency so you might not ever notice. At the very least, perl programs installed through the package manager will be broken.

        You can check the system perl with
        /usr/bin/perl -v
        which should say something like
        This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
        You can also check to see what kind of file it is with
        file /usr/bin/perl
        which should say something like
        /usr/bin/perl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dy +namically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
        If your system doesn't give similar responses, your system perl is broken.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857174]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-28 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (187 votes), past polls