Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

iibd sibrary missing

roddur
Beginner
550 Views

as michel said, and i followed him, even after doing a

$ . ifortvars.sh ia32(mine is 32 bit machine)

i still got iidb not supported:

$ ldd iidb
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x008f6000)
libPostOffice.so => not found
libxerces-c.so.27 => not found
libDebuggerData.so => not found
libDebuggerServices.so => not found
libScheduler.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x00a8c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a93000)
libm.so.6 => /lib/libm.so.6 (0x00a61000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00136000)
/lib/ld-linux.so.2 (0x008d6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001ef000)

so what is the way out?

0 Kudos
1 Solution
Ron_Green
Moderator
550 Views
Quoting - roddur

as michel said, and i followed him, even after doing a

$ . ifortvars.sh ia32(mine is 32 bit machine)

i still got iidb not supported:

$ ldd iidb
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x008f6000)
libPostOffice.so => not found
libxerces-c.so.27 => not found
libDebuggerData.so => not found
libDebuggerServices.so => not found
libScheduler.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x00a8c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a93000)
libm.so.6 => /lib/libm.so.6 (0x00a61000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00136000)
/lib/ld-linux.so.2 (0x008d6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001ef000)

so what is the way out?

looks like a bug in our ifortvars script - it's not setting up LD_LIBRARY_PATH correctly. I'll write up a bug report. Here's a work around:

export LD_LIBRARY_PATH=/opt/intel/Compiler/11/074/idb/lib/ia32:${LD_LIBRARY_PATH}

ron

View solution in original post

0 Kudos
5 Replies
Ron_Green
Moderator
551 Views
Quoting - roddur

as michel said, and i followed him, even after doing a

$ . ifortvars.sh ia32(mine is 32 bit machine)

i still got iidb not supported:

$ ldd iidb
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x008f6000)
libPostOffice.so => not found
libxerces-c.so.27 => not found
libDebuggerData.so => not found
libDebuggerServices.so => not found
libScheduler.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x00a8c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a93000)
libm.so.6 => /lib/libm.so.6 (0x00a61000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00136000)
/lib/ld-linux.so.2 (0x008d6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001ef000)

so what is the way out?

looks like a bug in our ifortvars script - it's not setting up LD_LIBRARY_PATH correctly. I'll write up a bug report. Here's a work around:

export LD_LIBRARY_PATH=/opt/intel/Compiler/11/074/idb/lib/ia32:${LD_LIBRARY_PATH}

ron

0 Kudos
roddur
Beginner
550 Views

looks like a bug in our ifortvars script - it's not setting up LD_LIBRARY_PATH correctly. I'll write up a bug report. Here's a work around:

export LD_LIBRARY_PATH=/opt/intel/Compiler/11/074/idb/lib/ia32:${LD_LIBRARY_PATH}

ron

no no....this is not i was looking for...probably i am missing something because

$ export LD_LIBRARY_PATH=/opt/intel/Compiler/11/074/idb/lib/ia32:${LD_LIBRARY_PATH}
$ ldd iidb
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x008f6000)
libPostOffice.so => not found
libxerces-c.so.27 => not found
libDebuggerData.so => not found
libDebuggerServices.so => not found
libScheduler.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x00a8c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a93000)
libm.so.6 => /lib/libm.so.6 (0x00a61000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00135000)
/lib/ld-linux.so.2 (0x008d6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001ef000)

0 Kudos
Ron_Green
Moderator
550 Views

Yes, perhaps you did not install the 32bit version of idb. Here is what I have in my .../11.0/074/idb/lib/ia32 directory:

[rwgreen@spd16 ia32]$ ls -l

total 21628

-rwxr-xr-x 1 toolsadm toolsadm 5235288 Nov 5 23:29 idb_libFNP.so

-rwxr-xr-x 1 toolsadm toolsadm 1438396 Nov 5 23:28 libDebuggerData.so

-rwxr-xr-x 1 toolsadm toolsadm 1016536 Nov 5 23:28 libDebuggerServices.so

-rwxr-xr-x 1 toolsadm toolsadm 58024 Nov 5 23:28 libPostOffice.so

-rwxr-xr-x 1 toolsadm toolsadm 7992 Nov 5 23:28 libScheduler.so

-rwxr-xr-x 1 toolsadm toolsadm 4768389 Nov 5 23:29 libxerces-c.so

-rwxr-xr-x 1 toolsadm toolsadm 4768389 Nov 5 23:29 libxerces-c.so.27

-rwxr-xr-x 1 toolsadm toolsadm 4768389 Nov 5 23:29 libxerces-c.so.27.0



If these are missing, then you do have some installation problem. The idb bits are packaged with the compiler .tgz files. So if you installed from l_cprof_p_11.0.074_ia32.tgz then it should have been installed if you used the default installation. If you chose 'custom' intallation, the 32bit IDB is an option to install.

ron

0 Kudos
roddur
Beginner
550 Views

Yes, perhaps you did not install the 32bit version of idb. Here is what I have in my .../11.0/074/idb/lib/ia32 directory:

If these are missing, then you do have some installation problem. The idb bits are packaged with the compiler .tgz files. So if you installed from l_cprof_p_11.0.074_ia32.tgz then it should have been installed if you used the default installation. If you chose 'custom' intallation, the 32bit IDB is an option to install.
ron

but i DO have them

cd /opt/intel/Compiler/11.0/074/idb/lib/ia32/
[rudra@roddur ia32]$ ll
total 22M
-rwxr-xr-x 1 root root 4.6M 2008-11-06 12:59 libxerces-c.so.27.0
-rwxr-xr-x 1 root root 4.6M 2008-11-06 12:59 libxerces-c.so.27
-rwxr-xr-x 1 root root 5.0M 2008-11-06 12:59 idb_libFNP.so
-rwxr-xr-x 1 root root 1.4M 2008-11-06 12:58 libDebuggerData.so
-rwxr-xr-x 1 root root 993K 2008-11-06 12:58 libDebuggerServices.so
-rwxr-xr-x 1 root root 57K 2008-11-06 12:58 libPostOffice.so
-rwxr-xr-x 1 root root 7.9K 2008-11-06 12:58 libScheduler.so
-rwxr-xr-x 1 root root 4.6M 2008-11-06 12:59 libxerces-c.so

0 Kudos
Ron_Green
Moderator
550 Views

I have been assuming that your user shell is bash, is that correct? To test:

echo $0

If those libraries are there, and if you set your LD_LIBRARY_PATH correctly, ldd WILL find those dependent libs in the idb lib directory. Do you have ldd aliased to something?

which ldd

Then,

echo $LD_LIBRARY_PATH

which iidb

ldd //iidb

And finally:

$ file /opt/intel/Compiler/11.0/074/idb/lib/ia32/*
/opt/intel/Compiler/11.0/074/idb/lib/ia32/idb_libFNP.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libDebuggerData.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libDebuggerServices.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libPostOffice.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libScheduler.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libxerces-c.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libxerces-c.so.27: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
/opt/intel/Compiler/11.0/074/idb/lib/ia32/libxerces-c.so.27.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

Which Linux distro and version are you using?

which version of gcc and binutils do you have?

rpm -qa | grep binutils

and finally

uname -a

It makes no sense - if your LD_LIBRARY_PATH is correct, ldd WILL find those libraries.

ron

0 Kudos
Reply