On Thu, Jan 24, 2002 at 09:54:28AM +0000, Pier Fumagalli wrote: > Dave Dykstra <[EMAIL PROTECTED]> wrote: > > > I got around it temporarily by adding -DTIMES to the compile flags. Also > > I found I had to do the same -L hack in test/Makefile or the tests would > > fail. I then went back to 0.9.6c and got it to work with the patch from > > Pier Fumagalli. I'd still like to know how to do it without requiring > > manual edits though. > > With my patch 0.9.6c compiles no problems, W/O warning on my 10.1.2... What > do you mean by "manual edits"?
Sorry, I knew that wasn't descriptive enough but it was the end of the day and I was running late. I meant to say that I would like to be able to have the source use static libraries without having to change some files every time there's a new release, and without having to remove the system-installed copies of the shared libraries. Below is the patch I had to apply to get that to work, but those files are not currently generated by Configure so I don't know how to automate it. The first time I tried your patch I figured out that I had to change apps/Makefile.ssl to get the 'openssl' command to use the right library, but I didn't realize I had to also change test/Makefile.ssl in order to get it to pass the tests so I went on to try a more recent snapshot. That didn't need your patch any more, but it opened up new problems. - Dave Dykstra --- apps/Makefile.ssl.O Fri Jan 18 17:52:22 2002 +++ apps/Makefile.ssl Fri Jan 18 17:52:46 2002 @@ -26,8 +26,10 @@ DLIBCRYPTO=../libcrypto.a DLIBSSL=../libssl.a -LIBCRYPTO=-L.. -lcrypto -LIBSSL=-L.. -lssl +#LIBCRYPTO=-L.. -lcrypto +LIBCRYPTO=$(DLIBCRYPTO) +#LIBSSL=-L.. -lssl +LIBSSL=$(DLIBSSL) PROGRAM= openssl --- test/Makefile.ssl.O Wed Jan 23 11:38:55 2002 +++ test/Makefile.ssl Wed Jan 23 11:39:16 2002 @@ -27,8 +27,10 @@ DLIBCRYPTO= ../libcrypto.a DLIBSSL= ../libssl.a -LIBCRYPTO= -L.. -lcrypto -LIBSSL= -L.. -lssl +#LIBCRYPTO= -L.. -lcrypto +LIBCRYPTO=$(DLIBCRYPTO) +#LIBSSL= -L.. -lssl +LIBSSL=$(DLIBSSL) BNTEST= bntest EXPTEST= exptest ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]