dsccsetup ads-create libfreebl3.so: version `NSSRAWHASH_3.12.3′ not found

On running the dsccsetup ads-create command I received the following error


[root@sm1 bin]# ./dsccsetup ads-create
Choose password for Directory Service Manager: 
Confirm password for Directory Service Manager: 
Creating DSCC registry…
[27/Apr/2012:20:00:03 +0100] – ERROR<4167> – Startup  – conn=-1 op=-1 msgId=-1 – System error  Load library /opt/dsee7/lib/pwdstorage-plugin.so: error /opt/dsee7/lib/../lib/private/libfreebl3.so: version `NSSRAWHASH_3.12.3′ not found (required by /lib/libcrypt.so.1)
[27/Apr/2012:20:00:03 +0100] – WARNING<4228> – Plugins – conn=-1 op=-1 msgId=-1 –  Plugin configured as “/opt/dsee7/lib/pwdstorage-plugin.so” seems to belong to a different binary installation. Using specified path.
[27/Apr/2012:20:00:03 +0100] – ERROR<4167> – Startup  – conn=-1 op=-1 msgId=-1 – System error  Load library /opt/dsee7/lib/pwdstorage-plugin.so: error /opt/dsee7/lib/../lib/private/libfreebl3.so: version `NSSRAWHASH_3.12.3′ not found (required by /lib/libcrypt.so.1)
[27/Apr/2012:20:00:03 +0100] – ERROR<4140> – plugin_setup – conn=-1 op=-1 msgId=-1 – Configuration error  Could not load symbol “ssha_pwd_storage_scheme_init” from library “/opt/dsee7/lib/pwdstorage-plugin.so” for plugin SSHA
[27/Apr/2012:20:00:03 +0100] – ERROR<5255> – Bootstrap config  – conn=-1 op=-1 msgId=-1 – Configuration error  The plugin entry [cn=SSHA,cn=Password Storage Schemes,cn=plugins,cn=config] in the configfile /opt/dsee7/var/dcc/ads/config/dse.ldif was invalid
[27/Apr/2012:20:00:03 +0100] – ERROR<4122> – Bootstrap config  – conn=-1 op=-1 msgId=-1 – Configuration error  The configuration files in directory /opt/dsee7/var/dcc/ads/config could not be read or were not found.  Please refer to the error log or output for more information.
/opt/dsee7/lib/ns-slapd -D /opt/dsee7/var/dcc/ads -i /opt/dsee7/var/dcc/ads/logs/pid failed: err=1
Failed to start Directory Server instance ‘/opt/dsee7/var/dcc/ads’
null
Unexpected error
Sofware installation is probably incomplete or corrupted

Searching through the forums and blogs, I came across this site by jmccabe. 
Although the problem is for Sun web server, the same solution applied to DSEE7 worked like a charm. Just move the offending libfreeb13.so file to /tmp and ran the command.
[root@sm1 bin]# ./dsccsetup ads-create
Choose password for Directory Service Manager: 
Confirm password for Directory Service Manager: 
Creating DSCC registry…
DSCC Registry has been created successfully