Hi, I didn't use a source tarball from the cvs system, but used a 'normal' one from the website. Well, after getting this error, I dived into the manual files of cc and ld and I came up with the following: - the -l... switch is used to integrate a library in the process. - So strip the -l from every switch in the line
>cc -o vsdproxyd vsdproxyd.o client.o vsd.o lookup.o > cryptssl.o -L./../libvsd -lvsd -lz -lcrypto -lssl -lstdc++' , place lib in front of it and tada: you have the names of the necessary libraries for your build process. - In this case those would be: libvsd, libz!!, libcrypto, libssl and libstdc++ And I was indeed missing the Zlib package on my system. After installing that, it worked! Hope this helps people who had a similar error. Maarten -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Damion Parry Verzonden: donderdag 7 februari 2002 15:53 Aan: [EMAIL PROTECTED] Onderwerp: Re: Cannot find -lz Hello, I just had a look through all of the versions of freevsd that have been released and I haven't been able to replicate your problem. The only thing I can think of is that you have obtained the source through from CVS but haven't executed: > cvs update -Pd freevsd Which would leave a vast number of very out of date files and directories in your source tree. This could also be why your compilation has defaulted to plain text (from your earlier post) instead of SSL. Please please please update the source, and start again. HTH, Damion. Maarten Engelen wrote: > > Hi All, > > When compiling FreeVSD on a Redhat 7.2 machine I got the following error: > > -- > Making all in src/vsdproxyd > make[1]: Entering directory `/root/download/freevsd/src/vsdproxyd' > cc -o vsdproxyd vsdproxyd.o client.o vsd.o lookup.o > cryptssl.o -L./../libvsd -lv > sd -lz -lcrypto -lssl -lstdc++ > /usr/bin/ld: cannot find -lz > collect2: ld returned 1 exit status > make[1]: *** [vsdproxyd] Error 1 > make[1]: Leaving directory `/root/download/freevsd/src/vsdproxyd' > make: *** [all-subdirs] Error 1 > -- > > Looks like ld doesn't recognize the -lz switch. Do I need to have another ld > (it's the standard one from the redhat installation)? > I couldn't find any solution to this problem. > I finally wanted to use FreeVSD with openssl and now I get this! It's just > depressing. > > Thanks in advance, > > Maarten > > ------------------------- The freeVSD Support List -------------------------- > Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support > Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support > Archives: http://freevsd.org/support/mail-archives/freevsd-support > -------------------------------------------------------------------------- --- ------------------------- The freeVSD Support List -------------------------- Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives: http://freevsd.org/support/mail-archives/freevsd-support ---------------------------------------------------------------------------- - ------------------------- The freeVSD Support List -------------------------- Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives: http://freevsd.org/support/mail-archives/freevsd-support -----------------------------------------------------------------------------
