Digest MD5

Dear Guys ,

Am sorry i ask alot , but i do not know that much about perl , cgi , MD5 !

now i installed MD5 and Digest MD5 to my solaries 7 sparc machine .

when i execute the command :

$perl Makefile.PL

i get the follwoing error message ,, please tell me how to fix it , i need Digest MD5 to work on my server !!

$perl Makefile.PL
Testing alignment requirements for U32... ld: fatal: library -lgdbm: not found
ld: fatal: File processing errors. No output written to u32align
collect2: ld returned 1 exit status
Can't compile test program
Writing Makefile for Digest::MD5

thanks and waiting your reply

Check your LD_LIBRARY_PATH - post what you have it set to.

Sorry RTM i did not get you exactly ... by LD path ?!!

When executing the env command, it will show you what your environment is set up to.

One of these is LD_LIBRARY_PATH. Your path may not be set up to look at the correct directory (usually set up in either your .profile or in the system profile).

See this tread for more info on it.

Also search for the file libgdbm.so and post the path where this can be found on your system here.

If the path is in LD_LIBRARY_PATH, then the "gdbm" library can then be found.

hi guys ,

i executed the commnd env and got the following :

_=/usr/bin/env
HZ=100
PATH=/opt/SUNWseam/3_0/bin:/usr/sadm/bin:/usr/bin:/sbin:/etc:/usr/sbin:/usr/loca
l/bin:/usr/local/sbin:/usr/local:/usr/ccs/bin:/usr/openwin/bin:/opt/FSFgroff/bin
:/usr/opt/SUNWmd/sbin:.
EDITOR=vi

--------------------------

this is part of it , which include the path .

and i searched for libgdbm.so file and did not find it !!

thanks again

I was checking the google web site and i found something realted to Digest MD5 .

http://www.icdevgroup.org/archive/interchange-users/2001/msg11889.html

so there was an ansewer that say :

GDBM_File GSAR perl-5.6.1.tar.gz 5.7M 09 Apr 2001
> is this the right file?
> SO, i have to reinstall Perl to get GDBM?
> can you clear me on that, thanks! :slight_smile:
>
No, you already have GDBM_File, now you need to find the GDBM library
source code itself (which is not related to perl), you can find it at
http://www.gnu.org/software/gdbm/gdbm.html

can you help me please in it ,,, what shall i do exactly ???

Install the tarball then.

Then add the path to the installed library to LD_LIBRARY_PATH, e.g.

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

(this is for (ba)sh shell)

It should work then, I think.

i got your idea , but still am not sure of what i should install ???

what is tarball ???
thanks

That is, install gdbm from the GNU web link you provided.

Are you sure it is not already installed, in /usr/lib or /usr/local/lib?

i do not think i have it , i searched and could not find it .
i will search on the link for gdbm .

but can i ask you please what is gcc ???

does gdbm related to gcc ?

thanks alot

gcc is the GNU C compiler.
gdbm, as the site tells you, is some database routines.

You use a compiler to compile source program into binaries.

If you really don't have this library installed, then extract the tarball and I think you can compile using the usual commands

./configure
make
make install