This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Could not open spkc6x.dll Unable to initialize target

I have just installed CCS_4.1.0.02006 on ubuntu 10.04 as well as on Gentoo.
In both cases the installation compleated without any problems, and
an environment variable was created in my .bashrc file.

CCSV4_PHOTON_INSTALL_DIR=/usr/local/CCSv4/ccsv4/simulation/bin/components/photon;export CCSV4_PHOTON_INSTALL_DIR;

When I try to run the standalone simulator ./load6xexe <dsp_object> I get the following error message :

Could not open spkc6x.dll Unable to initialize target.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The simulator is run directly from the installation
directory :

/usr/local/CCSv4/ccsv4/tools/compiler/c6000/bin

The library file spkc6x.dll is in the same directory as
load6xexe. However for some reason it can not be found
by load6xexe.

There is a wrapper script called load6x which defines
the environment variable LD_LIBRARY_PATH. Before this
script can be executed the line defining the variable LO_PATH
needs to be corrected to :

setenv LO_PATH /usr/local/CCSv4/ccsv4/tools/compiler/c6000

However running the wrapper script, and therfore setting
LD_LIBRARY_PATH does not help. I still get the same
error message.

Peter Jensen