perl 5.8.8 installation

Posted on 2007-03-17
Last Modified: 2011-10-03
I'm trying to install perl 5.8.8 on Solaris 10. I'm getting this error:
"I used the command:

        gcc -o try -O -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -ldb -ldl -lm -lc

and I got the following output:

ld: fatal: library -ldb: not found
ld: fatal: File processing errors. No output written to try
collect2: ld returned 1 exit status
I can't compile the test program.
(The supplied flags or libraries might be incorrect.)

You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure."
Question by:tmpraveen
LVL 17

Expert Comment

ID: 18744290
ActiveState has a AS  and pkgadd package for Solaris.  Can you install one of those (I'm not too familiar with Solaris)?  See
LVL 48

Expert Comment

ID: 18744785
Do you need to compile Perl?

What options did you give to Configure?
LVL 19

Expert Comment

by:Kim Ryan
ID: 18745121
It needs the libdb library installed before you start, Can you get hold off this?
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 48

Assisted Solution

Tintin earned 250 total points
ID: 18745229
Make sure you have the following packages installed:

for tools (sccs, lex, yacc, make, nm, truss, ld, as): SUNWbtool,
SUNWsprot, SUNWtoo

for libraries & headers: SUNWhea, SUNWarc, SUNWlibm, SUNWlibms, SUNWdfbh,
SUNWcg6h, SUNWxwinc, SUNWolinc


Author Comment

ID: 18756492
I'm trying to install perl with these options. all the packages are i nstalled except SUNWolinc pacakge I could not find it in Solaris 10 cds. any suggestion where I can find this package?
LVL 48

Expert Comment

ID: 18759939
When I installed Perl on Solaris 10, I just did

make test
make install

I didn't need to specify any fancy options.
LVL 17

Expert Comment

ID: 18786871
"I'm trying to install perl with these options. all the packages are i nstalled except SUNWolinc pacakge I could not find it in Solaris 10 cds. any suggestion where I can find this package?"
LVL 17

Accepted Solution

mjcoyne earned 250 total points
ID: 18786876
More specificallly, it appears to be on Software CD 2 of 2...
LVL 48

Expert Comment

ID: 18787389
Is your aim to have Perl installed on your system, or to have the latest version with specific compile options installed?

I needed to install 64 bit version of Perl in order to be more compatible with 64 bit Oracle DBI/DBD::Oracle.

If I didn't have that requirement, I would have just used the version of Perl that came with Solaris 10.

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Uploading Binary Data using Perl 5 89
Trying to use two loops in a perl script but not getting results need. 10 88
iSeries PERL Scripts 7 157
quoting a comma separated list 20 84
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (,  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: (…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now