Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7538861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:13:44+00:00 2026-05-30T07:13:44+00:00

I run on Solaris 10 . I downloaded and install perl from sunfreeware .

  • 0

I run on Solaris 10.

I downloaded and install perl from sunfreeware.

When I try to execute CPAN command, I got following error.

# perl -MCPAN -e shell
Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose the best CPAN mirror
sites for you? (This means connecting to the Internet and could
take a couple minutes) [yes]

Trying to fetch a mirror list from the Internet
  LWP not available
  LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/5.12.3/i86pc-solaris/auto/Socket/Socket.so: symbol inet_aton: referenced symbol not found
Killed
#

ldd doesn’t seem to have problem

# ldd /usr/local/lib/perl5/5.12.3/i86pc-solaris/auto/Socket/Socket.so
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

Any idea what am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:13:45+00:00Added an answer on May 30, 2026 at 7:13 am

    To avoid manual recompilation of everything, configure CPAN make_arg with LIBS=-lresolv and mbuild_arg with --config libs=-lresolv. (This adds the library globally for all Perl distro compile runs.) Then issue the CPAN recompile command. I have not tested this. Experiment on a spare system first, be able to restore the Perl tree if something goes wrong.

    If you suppose only the Socket distro needs the extra libs parameter, then it is best to recompile this one manually:

    $ cpan
    cpan> look Socket
    Socket$ perl Makefile.PL LIBS=-lresolv ; make ; make test
    Socket$ sudo make install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run several queries from mysql command line on my linux box (Fedora Os).
I run the following command in Emacs unsuccessfully C-u How can you clear the
I run a Java code with the following command: $ java -Xms4G -Xmx4G myjavacode
On Solaris, is there a command that I can run to get the MAC
Given an executable that is compiled from C to run on Solaris, is it
Is there a command which can tell me whats in the Solaris run queue?
I run the following on Sun Solaris — it runs OK on Linux but
I found an odd problem when I run a simple csh script on Solaris.
I am using Solaris. I have to log into sql plus and run some
How to run Solaris 11 or Cloud Solaris 11, Android Java? Or i can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.