[Omnetpp-l] Tkenv Help

1,517 views
Skip to first unread message

emma

unread,
May 3, 2010, 12:23:35 AM5/3/10
to omnetpp
Hello all,

I installed Omnet4.0 and inet on Ubuntu9.10 but get Tkenv error when
run the examples, error msg as below. Could anyone please help? Thank
you in advance.

1. I installed Omnet 4.0 successfully on the Ubuntu 9.10. However when
run the sample, get below error:
root@ubuntu:/home/emma/omnetpp-4.0p1/samples/dyna# ./dyna
OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.
Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Tkenv...
Loading NED files from .: 6
Segmentation fault

2. INET is installed, when run the example, it shows
root@ubuntu:/home/emma/omnetpp-4.0p1/inet/examples/adhoc/ieee80211# ./
run
OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.
Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
<!> Error during startup: No user interface (Cmdenv, Tkenv, etc.)
found.
End.
Segmentation fault

3. Tkenv8.5 & Tcl8.5 already installed
root@ubuntu:~# sudo apt-get install bison flex byacc swig build-
essential tcl8.5 tk8.5 tcl8.5-dev tk8.5-dev

4. From the bash file I added
export PATH=$PATH:/home/emma/omnetpp-4.0p1/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/emma/omnetpp-4.0p1/lib
export TCL_LIBRARY=/usr/share/tcltk/tcl8.5
export OMNETPP_IMAGE_PATH=$OMNETPP_IMAGE_PATH:/home/emma/omnetpp-4.0p1/
images

5. As the suggestion from disscussion group, I tried below still get
the same error.
./dyna --tkenv-extra-stack=64KB

6. When run ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for icc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for icpc... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking whether g++ supports -fno-stack-protector... yes
checking whether g++ supports -fno-stack-protector... yes
checking if shared libs need -fPIC... no
checking for dlopen with CFLAGS="" LIBS=""... no
checking if --export-dynamic linker option is supported/needed... both
checking for flags needed to link with static libs containing simple
modules... --whole-archive
configure: NOTE: Use the following syntax when linking with static
libraries
configure: containing simple modules and other dynamically registered
components:
configure: g++ ... -Wl,--whole-archive <libs> -Wl,--no-whole-
archive ...
checking whether linker supports -rpath... yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for make... make
checking for perl... perl
checking for swig... swig
checking for math with CFLAGS="" LIBS=""... yes
checking for standard C++ lib with CFLAGS="" LIBS="-lstdc++"... yes
checking for dlopen with CFLAGS="" LIBS=""... no
checking for dlopen with CFLAGS="" LIBS="-ldl"... yes
checking for winsock with CFLAGS="" LIBS="-lwsock32"... no
checking for zlib with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector
" LIBS="-lz"... yes
checking for Tcl/Tk 8.6 with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector " LIBS="-ltk8.6 -ltcl8.6"... no
checking for Tcl/Tk 8.5 with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -I/usr/include/tcl8.5" LIBS="-ltk8.5 -ltcl8.5"... yes
checking for wish... wish
checking for BLT 2.4 with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -I/usr/include/tcl8.5" LIBS="IBLT -ltk8.5 -ltcl8.5"... no
checking for BLT 2.4 with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -I/usr/include/tcl8.5" LIBS="-lBLT24 -ltk8.5 -ltcl8.5"...
no
checking for BLT 2.4 with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -I/usr/include/tcl8.5" LIBS="-lBLT -ltk8.5 -ltcl8.5"...
yes
checking for java... java
checking for JNI with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector -
fno-strict-aliasing -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/
jvm/java-6-openjdk/include/linux"... yes
checking for mpic++... mpic++
c++: unrecognized option '-showme:compile'
/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crt1.o: In function
`_start':
/build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:115:
undefined reference to `main'
collect2: ld returned 1 exit status
c++: unrecognized option '-showme:link'
/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crt1.o: In function
`_start':
/build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:115:
undefined reference to `main'
collect2: ld returned 1 exit status
checking for MPI with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector "
LIBS=" -Wl,--export-dynamic -Wl,-rpath,$(OMNETPP_LIB_DIR):. "... no
checking for mpicxx... mpicxx
checking for MPI with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector c+
+ -g -O2 -g -Wall -O2 -c -I/usr/include/mpich2" LIBS=" -Wl,--export-
dynamic -Wl,-rpath,$(OMNETPP_LIB_DIR):. c++ -g -O2 -g -Wall -O2 -Wl,-
Bsymbolic-functions -I/usr/include/mpich2 -L/usr/lib -L/usr/lib -Wl,-
rpath -Wl,/usr/lib -lmpichcxx -lmpich -lopa -lpthread -lrt"... no
checking for MPI with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector c+
+ -g -O2 -g -Wall -O2 -c -I/usr/include/mpich2" LIBS=" -Wl,--export-
dynamic -Wl,-rpath,$(OMNETPP_LIB_DIR):. -lmpi"... no
configure: WARNING: Optional package MPI (needed for parallel
simulation) not found.
checking for PCAP with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-protector
" LIBS="-lpcap"... yes
checking for LibXML XML parser with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -DHAVE_PCAP " LIBS="-lxml2"... no
checking for LibXML XML parser with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -DHAVE_PCAP -I/usr/include/libxml2" LIBS="-lxml2"... yes
checking for Expat XML parser with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -DHAVE_PCAP " LIBS="-lexpat"... yes
configure: Using LibXML for XML parsing
checking for Akaroa with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -DHAVE_PCAP -DXMLPARSER=libxml " LIBS=""... no
checking for Akaroa with CFLAGS=" -O2 -DNDEBUG=1 -fno-stack-
protector -DHAVE_PCAP -DXMLPARSER=libxml " LIBS="-lakaroa -lfl"...
no
configure: WARNING: Optional package Akaroa not found
configure: creating ./config.status
config.status: creating Makefile.inc
config.status: creating test/core/runtest
patching the ide configuration file. default workspace is: /home/emma/
omnetpp-4.0p1/samples

WARNING: The configuration script could not detect the following
packages:

MPI (optional) Akaroa (optional)

Scroll up to see the warning messages (use shift+PgUp key), and see
config.log
for more details. While you can use OMNeT++ in the current
configuration, please be aware that some functionality may be
unavailable
or incomplete.

Your PATH contains /home/emma/omnetpp-4.0p1/bin. Good!

TCL_LIBRARY is set. Good!

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

Andras Varga

unread,
May 3, 2010, 2:20:38 AM5/3/10
to omn...@googlegroups.com
Hi Emma,

Thank you for posting the configure output and the other details! That helps
pinpoint the error.

Could you include the "make" output as well?

As for the missing user interface libraries: what does

cd /home/emma/omnetpp-4.0p1/bin/
ldd opp_run

say? ldd should list something like libopptkenv.so liboppcmdenv.so as
dependencies.

The segmentation fault occurs only with Dyna, or other examples as well?
Could you please post a stack trace? (gdb ./dyna; r; when it crashes: bt)

Andras

Rudolf Hornig

unread,
May 3, 2010, 2:51:14 AM5/3/10
to omn...@googlegroups.com
Also I noticed, that you have omnetpp installed in the user directory while you are running and trying as 'root'

This is bad practice. OMNeT++ is meant to be installed and used as a normal user. Apart from installing the necessary packages with your package manager, you should not switch to root.

My advice: delete the whole installation you did until now, a start from the beginning, but do it under the same user (emma) and never switch to 'root'

Rudolf

emma

unread,
May 3, 2010, 9:21:47 AM5/3/10
to omnetpp
Hello Andras and Rudolf

Many thanks for your prompt reply and suggestion. Actually I installed
Omnet under my profile just change user to root for easier
configuration temperately.

1. When run ldd opp_run, get below result

linux-gate.so.1 => (0x0075b000)

libopptkenvd.so => /home/emma/omnetpp/lib/libopptkenvd.so
(0x002f5000)

liboppenvird.so => /home/emma/omnetpp/lib/liboppenvird.so
(0x003fe000)

libopplayoutd.so => /home/emma/omnetpp/lib/libopplayoutd.so
(0x00110000)

liboppcmdenvd.so => /home/emma/omnetpp/lib/liboppcmdenvd.so
(0x00fec000)

liboppsimd.so => /home/emma/omnetpp/lib/liboppsimd.so
(0x0087e000)

liboppnedxmld.so => /home/emma/omnetpp/lib/liboppnedxmld.so
(0x0016a000)

liboppcommond.so => /home/emma/omnetpp/lib/liboppcommond.so
(0x00785000)

libxml2.so.2 => /usr/lib/libxml2.so.2 (0x004bc000)

libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00b44000)

libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x005e6000)

libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00269000)

libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00ac5000)

libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00b48000)

libtk8.5.so.0 => /usr/lib/libtk8.5.so.0 (0x00c8d000)

libtcl8.5.so.0 => /usr/lib/libtcl8.5.so.0 (0x00db9000)

libz.so.1 => /lib/libz.so.1 (0x0028f000)

/lib/ld-linux.so.2 (0x0080e000)

libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
(0x002a5000)

libX11.so.6 => /usr/lib/libX11.so.6 (0x00ffc000)

libXss.so.1 => /usr/lib/libXss.so.1 (0x002be000)

libXext.so.6 => /usr/lib/libXext.so.6 (0x002c2000)

libXft.so.2 => /usr/lib/libXft.so.2 (0x002d2000)

libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00f23000)

libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
(0x006d8000)

libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00b18000)

libxcb.so.1 => /usr/lib/libxcb.so.1 (0x003d3000)

libXau.so.6 => /usr/lib/libXau.so.6 (0x002e6000)

libexpat.so.1 => /lib/libexpat.so.1 (0x00705000)

libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x002ea000)

linux-gate.so.1 => (0x0075b000)

libopptkenvd.so => /home/emma/omnetpp/lib/libopptkenvd.so
(0x002f5000)

liboppenvird.so => /home/emma/omnetpp/lib/liboppenvird.so
(0x003fe000)

libopplayoutd.so => /home/emma/omnetpp/lib/libopplayoutd.so
(0x00110000)

liboppcmdenvd.so => /home/emma/omnetpp/lib/liboppcmdenvd.so
(0x00fec000)

liboppsimd.so => /home/emma/omnetpp/lib/liboppsimd.so
(0x0087e000)

liboppnedxmld.so => /home/emma/omnetpp/lib/liboppnedxmld.so
(0x0016a000)

liboppcommond.so => /home/emma/omnetpp/lib/liboppcommond.so
(0x00785000)

libxml2.so.2 => /usr/lib/libxml2.so.2 (0x004bc000)

libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00b44000)

libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x005e6000)

libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00269000)

libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00ac5000)

libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00b48000)

libtk8.5.so.0 => /usr/lib/libtk8.5.so.0 (0x00c8d000)

libtcl8.5.so.0 => /usr/lib/libtcl8.5.so.0 (0x00db9000)

libz.so.1 => /lib/libz.so.1 (0x0028f000)

/lib/ld-linux.so.2 (0x0080e000)

libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
(0x002a5000)

libX11.so.6 => /usr/lib/libX11.so.6 (0x00ffc000)

libXss.so.1 => /usr/lib/libXss.so.1 (0x002be000)

libXext.so.6 => /usr/lib/libXext.so.6 (0x002c2000)

libXft.so.2 => /usr/lib/libXft.so.2 (0x002d2000)

libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00f23000)

libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
(0x006d8000)

libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00b18000)

libxcb.so.1 => /usr/lib/libxcb.so.1 (0x003d3000)

libXau.so.6 => /usr/lib/libXau.so.6 (0x002e6000)

libexpat.so.1 => /lib/libexpat.so.1 (0x00705000)

libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x002ea000)

2. The Tkenv Problem exist for all the examples.

root@ubuntu:/home/emma/omnetpp/samples/aloha# gdb ./aloha

GNU gdb (GDB) 7.0-ubuntu

Copyright (C) 2009 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show
copying"

and "show warranty" for details.

This GDB was configured as "i486-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /home/emma/omnetpp/samples/aloha/aloha...done.

(gdb) r

Starting program: /home/emma/omnetpp/samples/aloha/aloha

[Thread debugging using libthread_db enabled]

OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.

Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer

Setting up Tkenv...

Loading NED files from .: 4

[New Thread 0xb7fa0b70 (LWP 3695)]

Program received signal SIGSEGV, Segmentation fault.

0x00897410 in Tk_PhotoExpand () from /usr/lib/libtk8.5.so.0

(gdb) bt

#0 0x00897410 in Tk_PhotoExpand () from /usr/lib/libtk8.5.so.0

#1 0x00187fa3 in PNGDecode (interp=0x8087d68, pPNG=0xbfffe8a0,
format=0x0, imageHandle=0x8243860, destX=0, destY=0) at tkImgPNG.c:
2026

#2 0x001886a8 in StringReadPNG (interp=0x8087d68, dataObj=0x820e7d8,
format=0x0, imageHandle=0x8243860, destX=0, destY=0, width=40,
height=40, srcX=0,

srcY=0) at tkImgPNG.c:2358

#3 0x008923d9 in ?? () from /usr/lib/libtk8.5.so.0

#4 0x0088ea10 in ?? () from /usr/lib/libtk8.5.so.0

#5 0x00887b4d in ?? () from /usr/lib/libtk8.5.so.0

#6 0x0094ab59 in ?? () from /usr/lib/libtcl8.5.so.0

#7 0x0094b2d3 in ?? () from /usr/lib/libtcl8.5.so.0

#8 0x009d2d66 in ?? () from /usr/lib/libtcl8.5.so.0

#9 0x0094b0b5 in ?? () from /usr/lib/libtcl8.5.so.0

#10 0x0094ae0e in Tcl_EvalEx () from /usr/lib/libtcl8.5.so.0

#11 0x0094bd2c in Tcl_Eval () from /usr/lib/libtcl8.5.so.0

#12 0x0015df11 in Tkenv::run (this=0x8073310) at tkenv.cc:238

#13 0x0026ca8d in EnvirBase::run (this=0x8073310, argc=1,
argv=0xbffff4b4, configobject=0x80724f0) at envirbase.cc:230

#14 0x00269d5f in setupUserInterface (argc=1, argv=0xbffff4b4,
cfg=0x0) at startup.cc:234

#15 0x0026aa65 in main (argc=1, argv=0xbffff4b4) at main.cc:39

#16 0x00674b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.
6

#17 0x0804eca1 in _start () at ../sysdeps/i386/elf/start.S:119

3. Is there any compatible issue between BLT2.6 and Tcl/Tk 8.5? I
tried uninstall tcl/tk8.5 and replace with tcl/tk8.4, but still get
the same error. Even use –u cmdenv, also get below error

User interface 'cmdenv' not found (not linked in or loaded
dynamically).

Available ones are:

Tkenv : graphical user interface

Cmdenv : command-line user interface

<!> Error during startup: Could not start user interface 'cmdenv'.

End.

3. Due to Tkenv error, when I run omnet/inet example demo, get msg as
below

root@ubuntu:/home/emma/omnetpp/samples# ./rundemo

OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.

Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer

Setting up Tkenv...

Loading NED files from .: 16

OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.

Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer

Setting up Tkenv...

Loading NED files from .: 10

OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim
Ltd.

Version: 4.0p1, build: 090310-10709, edition: Academic Public License
-- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer

Setting up Tkenv...

Loading NED files from .: 7

root@ubuntu:/home/emma/omnetpp/inet/examples# ./rundemo

Rudolf Hornig

unread,
May 3, 2010, 10:23:39 AM5/3/10
to omn...@googlegroups.com
On Mon, May 3, 2010 at 3:21 PM, emma <omn...@gmail.com> wrote:
Hello Andras and Rudolf

Many thanks for your prompt reply and suggestion. Actually I installed
Omnet under my profile just change user to root for easier
configuration temperately.


Omnet should be configurable using a normal user accont. Again DON'T run/configure it as root. Who know what permissions are set, or what kind of protections is activated on your linux. It may have secure linux activated or whatever... Use ONLY your own user.

As for userinterface: you must use: 
opp_run -u Cmdenv
opp_run -z Tkenv

But he root of the problem is that your Tcl/Tk seems to be buggy. At least that's where the code crashing. Try to upgrade/downgrade if you can.

Rudolf

emma

unread,
May 6, 2010, 1:36:53 AM5/6/10
to omnetpp
Hello Andras and Rudolf,

This problem is resolved by reinstall the packages and use tcl/tk 8.4.
Thank you for all your kind help.

On May 4, 12:23 am, Rudolf Hornig <rudolf.hor...@gmail.com> wrote:
> On Mon, May 3, 2010 at 3:21 PM, emma <omn...@gmail.com> wrote:
> > Hello Andras and Rudolf
>
> > Many thanks for your prompt reply and suggestion. Actually I installed
> > Omnet under my profile just change user to root for easier
> > configuration temperately.
>
> Omnet should be configurable using a normal user accont. Again DON'T
> run/configure it as root. Who know what permissions are set, or what kind of
> protections is activated on your linux. It may have secure linux activated
> or whatever... Use ONLY your own user.
>
> As for userinterface: you must use:
> opp_run -u *C*mdenv
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Esther Puyol

unread,
Dec 19, 2012, 10:15:54 AM12/19/12
to omn...@googlegroups.com
Hello all,
I try to complied omnetpp but I have an error and I don't understand why it crash?
Thanks,
 
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
esther@esther-E1210:~/Escritorio/LT3/Simulation$ sudo bash mrun.sh 40 Simulation seeds_LCGB_1 LCGB1
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory
./Simulation: error while loading shared libraries: libopptkenvd.so: cannot open shared object file: No such file or directory

Rudolf Hornig

unread,
Dec 19, 2012, 1:36:32 PM12/19/12
to omn...@googlegroups.com
1. you should first build omnetpp. You are trying to run a simulation that was previously built and the OMNeT++ libraries were deleted since then.
2. You should never run your simulation as root. OMNeT++ works fine under a normal user account

turingns2

unread,
Apr 1, 2014, 10:09:44 AM4/1/14
to omn...@googlegroups.com
I solved this problem using tcl8.4-dev and tk8.4-dev in Ubuntu.

Hope this help.
Reply all
Reply to author
Forward
0 new messages