Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

problem with libz, libpng and icc

Guillaume_Samson
Beginner
236 Views
hello,
I am on a 64bits 10.6.8 mac intel computer and I use intelcomposer_xe_2011_sp1.
I have successfully compiled (configure; make; make test; make install) & installed (in /usr/local/lib) the following libs:
- zlib-1.2.7 (needed by libpng)
-libpng-1.5.10 (also tested withlibpng-1.2.49)
In my .bashrc, I have:
source /opt/intel/bin/ifortvars.sh intel64
source /opt/intel/bin/iccvars.sh intel64
export CC=icc
export CXX=icpc
export F77=ifort
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH=/usr/local/lib:${DYLD_LIBRARY_PATH}
But, after installing libpng, I always have this error:
bash-3.2$ icc
icc: error #10310: Failed to enable trusted storage check for licensing: WARNING: Enable Trusted Storage failed (flexnet error code 1). Trusted Storage based license could not be supported
And when I remove libpng from /usr/local/lib, icc works perfectly !
Does anyone has any idea for a solution ?
Thanks,
Regards,
Guillaume
0 Kudos
1 Reply
ILevi1
Valued Contributor I
236 Views
According to this article:
http://software.intel.com/en-us/articles/error-trusted-storage-check/
Problem seems to be with the library path.

Can you please check if your path contains Intel library folder right before executing icc while libpng is still in your path?

Also, could you try running ldconfig after installing libpng but before running icc?
Reply