I don't think you need to add "fipscanisterbuild" option to config for building 
openssl-fips-2.0.*

Just try this

For Openssl-fips
1) ./config 
2) make
3) make install

For Openssl
1) ./config fips
2) make depend
3) make
4) make install

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Roar Lien
Sent: Thursday, February 21, 2013 1:18 PM
To: openssl-users@openssl.org
Subject: Re: fipsld ./fips_premain_dso: No such file or directory

I am still not able to statically link my application to the fips enabled 
openssl under linux. My platform is Windows 8 - VMWare - CentOS 6.3. From what 
I described above, the initial problem comes from fipsld not being able to find 
the fips_premain_dso executable (it never gets built). I came across a 
discussion about cross compiling where the solution was to set the FIPS_SIG 
environment variable. I don't think that my setup qualifies as a cross compile 
environment but I went ahead and tried it anyway, the error now was that my <my 
application name>.so is not cross compiler aware. 

My openssl-fips build steps are:

1) ./config fipscanisterbuild
2) make
3) make install

1) ./config fips
2) make depend
3) make
4) make install

When statically linking my application to the fips enabled openssl I use:
make CC=fipsld FIPSLD_CC=gcc as described in the user manual since the link 
rules in my make file only rely on $(CC).

Can somebody please comment on what I am doing wrong?

- Roar






--
View this message in context: 
http://openssl.6102.n7.nabble.com/fipsld-fips-premain-dso-No-such-file-or-directory-tp43733p43875.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to