OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
STUCK Somewhere

 
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> First time - readme
View previous topic :: View next topic  
Author Message
MuhammadIrfan



Joined: 30 Aug 2015
Posts: 27

PostPosted: Wed Sep 16, 2015 2:29 pm    Post subject: STUCK Somewhere Reply with quote

Dear all,
I have just started using OVPsim.
I am Following the steps of Imperas_Installation_and_getting_started.pdf...
I am stuck at step 7.1.1, while using ubuntu 32 bit...

I get an error in the form:
root@ubuntu:~/Downloads/old/Imperas.20150901/Demo/Processors/OPENCORES/Applications/fibonacci# ./platform.Linux32.exe ./fibonacci.OR1K-O3-g.elf
./platform.Linux32.exe: error while loading shared libraries: libRuntimeLoader.so: cannot open shared object file: No such file or directory

Kindly guide...

Regards
Muhammad Irfan
Back to top
View user's profile Send private message
DuncGrah
OVP Technologist
OVP Technologist


Joined: 27 Feb 2008
Posts: 1639
Location: United Kingdom

PostPosted: Thu Sep 17, 2015 12:23 am    Post subject: Reply with quote

This is an environment issue!

Did you source the setup script Imperas.20150901/bin/setup.sh in your Linux shell and then use the setupImperas function with full path to the installation?

When you did this you should see something like (note i have stripped some information away) ....

Quote:
$ source PATH TO INSTALL/Imperas/bin/setup.sh
Function 'setupImperas' successfully added to shell:
Usage: setupImperas [-help] [-m32] <Installation>
-help, Print this help
-m32, Run 32bit product under a 64bit OS
$ setupImperas PATH TO INSTALL/Imperas

where PATH TO INSTALL is the full PATH to the installation root.

If you then run PATH TO INSTALL/Imperas/bin/report.sh you should see the following entries (note I have removed some of the details from this information displayed)
Note in particular the entries for PATH and LD_LIBRARY_PATH where I believe you have the problem

Quote:
#
# Environment
#
Linux lnx34.impinternal.com 2.6.31.5-127.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686 i386 GNU/Linux

#
# Test IMPERAS_HOME
#
IMPERAS_HOME = PATH TO INSTALL/Imperas

#
# Test IMPERAS* Environment variables
#
IMPERAS_M32=1
IMPERAS_UNAME=Linux
IMPERAS_ISS=iss.exe
IMPERAS_SHRSUF=so
IMPERAS_ARCH=Linux32
IMPERAS_RUNTIME=CpuManager
IMPERAS_VLNV=/home/graham/Imperas/lib/Linux32/ImperasLib
IMPERAS_HOME=/home/graham/Imperas

#
# Test LM_LICENSE_FILE Environment variable
#
LM_LICENSE_FILE=...
#
# Test PATH Environment variable
#
PATH=...:PATH TO INSTALL/Imperas/bin/Linux32:PATH TO INSTALL/Imperas/bin/Linux32

#
# Test LD_LIBRARY_PATH Environment variable
#
LD_LIBRARY_PATH=:PATH TO INSTALL/Imperas/bin/Linux32:PATH TO INSTALL/Imperas/bin/Linux32

#
# Test PATH TO INSTALL/Imperas/InstallLog.txt
#
Installed 20150901.0 OVPsim Demo_Processors
Installed 20150901.0 OVPsim Imperas.iss
Installed 20150901.0 OVPsim Nios_II.model
Installed 20150901.0 OVPsim OVPsim
Installed 20150901.0 OVPsim OVPsim.RunTime
Installed 20150901.0 OVPsim OVPsim.igui
Installed 20150901.0 OVPsim OVPsim.iss
Installed 20150901.0 OVPsim arc.model
Installed 20150901.0 OVPsim arm-aarch64-none-elf.gdb
Installed 20150901.0 OVPsim arm-arm-none-eabi.gdb
Installed 20150901.0 OVPsim arm.model
Installed 20150901.0 OVPsim armm.model
Installed 20150901.0 OVPsim eGui
Installed 20150901.0 OVPsim imp-arc.gdb
Installed 20150901.0 OVPsim imp-m32c.gdb
Installed 20150901.0 OVPsim imp-microblaze.gdb
Installed 20150901.0 OVPsim imp-mips.gdb
Installed 20150901.0 OVPsim imp-nios2.gdb
Installed 20150901.0 OVPsim imp-powerpc.gdb
Installed 20150901.0 OVPsim imp-v850.gdb
Installed 20150901.0 OVPsim m16c.model
Installed 20150901.0 OVPsim microblaze.model
Installed 20150901.0 OVPsim mips32.imgtec.model
Installed 20150901.0 OVPsim mips32.model
Installed 20150901.0 OVPsim mips64.imgtec.model
Installed 20150901.0 OVPsim mips64.model
Installed 20150901.0 OVPsim or1k.gdb
Installed 20150901.0 OVPsim or1k.model
Installed 20150901.0 OVPsim powerpc32.model
Installed 20150901.0 OVPsim updatecheck
Installed 20150901.0 OVPsim v850.model

#
# Test make
#
GNU Make 3.81
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.

This program built for i386-redhat-linux-gnu

#
# Test gcc
#
gcc (crosstool-NG 1.18.0) 4.5.2
Copyright (C) 2010 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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> First time - readme All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Information regarding OVP © 2008-2022 Imperas Software