Looking to see why is icc is skipping /usr/lib64 libs as incompatible

Looking to see why is icc is skipping /usr/lib64 libs as incompatible

I have been looking on the forum for an answer to this and although I see posts talking about the issue of 32bit/64bit library references Iam still having troubleunderstanding why the /usr/lib64 libs are "incompatible"can someone please help/explain.

I am including this example usinga /usr/lib64 lib andone of the examples progs to showwhat I have .... Thanks for you help ... John

[root@localhost intrinsic_samples]# icc -o dot intrin_dot_sample.c -L/usr/lib64 -lMagick
ld: skipping incompatible /usr/lib64/libMagick.so when searching for -lMagick
ld: skipping incompatible /usr/lib64/libMagick.so when searching for -lMagick
ld: cannot find -lMagick

[root@localhost intrinsic_samples]# g++ -print-search-dirs
install: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/
programs: =/usr/libexec/gcc/x86_64-redhat-linux/4.1.1/:/usr/libexec/gcc/x86_64-redhat-linux/4.1.1/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.1.1/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../x86_64-redhat-linux/bin/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../x86_64-redhat-linux/bin/
libraries: =/usr/lib/gcc/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../x86_64-redhat-linux/lib/x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../x86_64-redhat-linux/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../x86_64-redhat-linux/4.1.1/:/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../:/lib/x86_64-redhat-linux/4.1.1/:/lib/:/usr/lib/x86_64-redhat-linux/4.1.1/:/usr/lib/

[root@localhost intrinsic_samples]# icc --version
icc (ICC) 10.1 20070913
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

gcc/g++ --version
g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@localhost intrinsic_samples]# ls -al /usr/lib64/libMagick.so*
lrwxrwxrwx 1 root root 26 Dec 17 22:29 /usr/lib64/libMagick.so -> /usr/lib64/libMagick.so.10*
lrwxrwxrwx 1 root root 19 Dec 14 14:49 /usr/lib64/libMagick.so.10 -> libMagick.so.10.0.3*
-rwxr-xr-x 1 root root 1791320 Mar 14 2007 /usr/lib64/libMagick.so.10.0.3*
[root@localhost intrinsic_samples]# file /usr/lib64/libMagick.so.10.0.3
/usr/lib64/libMagick.so.10.0.3: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
[root@localhost intrinsic_samples]#

Need to source /opt/intel/cce environment for 64 bit ... :(

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.