Jump to content
Sign in to follow this  
kallooran

libsystemc-2.3.3.so cannot open shared object file

Recommended Posts

Hello @kallooran,

Can you post the command line you are using to build your models with?

Also, if possible share the following environment variable also:

echo $SYSTEMC_HOME
echo $LD_LIBRARY_PATH

Currently with the title above is not enough to provide an educated guess about the environment you are using.

Regards,

Ameya Vikram Singh

Edited by AmeyaVS
Added section about the envrionment details also.

Share this post


Link to post
Share on other sites

Hello @kallooran,

Try setting the environment variable LD_LIBRARY_PATH as mentioned below:

export LD_LIBRARY_PATH=$SYSTEMC_HOME/lib-linux64
# or this if the library containing the libsystemc.so is under $SYSTEMC_HOME/lib
# export LD_LIBRARY_PATH=$SYSTEMC_HOME/lib

Also what is the command line used to build the project? (Example as mentioned below)

# e.g.:
# Compilation
$ g++ -Wall -g -I$SYSTEMC_HOME/include -c main.cpp
# Linking
$ g++ main.o -L$SYSTEMC_HOME/lib-linux64 -o sim -lsystemc

Hope it helps.

Regards,

Ameya Vikram Singh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×