Author Topic: errors when trying to debug using intel compiler, ipp and gdb  (Read 5352 times)

Offline hagai_sela

  • Single posting newcomer
  • *
  • Posts: 8
Hi,
I am trying to debug a program which uses intel's IPP library. I compiled my code using Intel's c++ compiler and I am trying to use gdb as a debugger (I set the toolchain accordingly).
My problem is that I get this error:

error while loading shared libraries: libippmem64t.so.6.0: cannot open shared object file: No such file or directory

I tried using gdb outside of code::blocks and it loads OK (I can use start, run, next etc). My LD_LIBRARY_PATH contains the directory which contains the missing file, so I think this has something to do with cb_console_runner not reading my environment properly. Can I configure cb_console_runner to search libraries in additional directories?

Thanks,
Hagai.

mariocup

  • Guest
Re: errors when trying to debug using intel compiler, ipp and gdb
« Reply #1 on: April 30, 2009, 04:20:37 pm »
Hi hagai_sela,

I did not try it, but I think the following procedure could work.
Define LD_LIBRARY_PATH within the Code::Blocks menu Settings->Environment->Environment variables->Add
Name: LD_LIBRARY_PATH
value: <your value>

Offline hagai_sela

  • Single posting newcomer
  • *
  • Posts: 8
Re: errors when trying to debug using intel compiler, ipp and gdb
« Reply #2 on: April 30, 2009, 04:51:49 pm »
Hi hagai_sela,

I did not try it, but I think the following procedure could work.
Define LD_LIBRARY_PATH within the Code::Blocks menu Settings->Environment->Environment variables->Add
Name: LD_LIBRARY_PATH
value: <your value>

I tried it with and without adding to the current LD_LIBRARY_PATH (I set LD_LIBRARY_PATH to $(LD_LIBRARY_PATH):/opt/intel/Compiler/11.0/083/ipp/em64t/lib or just to /opt/intel/Compiler/11.0/083/ipp/em64t/lib). Same results.

Hagai.

Offline hagai_sela

  • Single posting newcomer
  • *
  • Posts: 8
Re: errors when trying to debug using intel compiler, ipp and gdb
« Reply #3 on: May 01, 2009, 12:53:25 pm »
Solved by installing the svn trunk version and running ldconfig.