Solved

perl 5.8.8 installation

Posted on 2007-03-17
10
758 Views
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
         ./try

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."
0
Comment
Question by:tmpraveen
10 Comments
 
LVL 17

Expert Comment

by:mjcoyne
Comment Utility
ActiveState has a AS  and pkgadd package for Solaris.  Can you install one of those (I'm not too familiar with Solaris)?  See http://www.activestate.com/Downloads/.
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
Do you need to compile Perl?

What options did you give to Configure?
0
 
LVL 19

Expert Comment

by:Kim Ryan
Comment Utility
It needs the libdb library installed before you start, Can you get hold off this?
0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 250 total points
Comment Utility
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

0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:tmpraveen
Comment Utility
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?
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
When I installed Perl on Solaris 10, I just did

Configure
make
make test
make install

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

Expert Comment

by:mjcoyne
Comment Utility
"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?"

http://www.sun.com/software/solaris/
0
 
LVL 17

Accepted Solution

by:
mjcoyne earned 250 total points
Comment Utility
More specificallly, it appears to be on Software CD 2 of 2...
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
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.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

11 Experts available now in Live!

Get 1:1 Help Now