Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

when i tried to install DBI-1.48 version in Linux system i am getting the following error: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make1: *** perl Error 1 i have done the following steps: 1. Downloaded DBI-1.48 from CPAN. 2.perl MakeFile.PL 3.make 4.make test. in this step i am getting the above mentioned error. Any help on this very much appreciated. Thanks Narasimha
  • Comment on error:Archive has no index; run ranlib to add one

Replies are listed 'Best First'.
Re: error:Archive has no index; run ranlib to add one
by FunkyMonk (Bishop) on Apr 08, 2009 at 11:57 UTC
    You do know that DBI 1.48 was released over 4 years ago (March 2005)? Is there any reason you're not using a more recent version?

    For what its worth, I downloaded 1.48 and although it failed most of its tests, I did not see the error you reported.

Re: error:Archive has no index; run ranlib to add one
by Anonymous Monk on Apr 08, 2009 at 11:57 UTC
    could not read symbols: Archive has no index; run ranlib to add one

    Try to run ranlib?