Omnet, Sumo and Veins installtion in Ubuntu 20.04.02 LTS

62 views
Skip to first unread message

mohaimin ehsan anik

unread,
Jan 5, 2022, 4:42:53 PMJan 5
to OMNeT++ Users
Hello All, 

I am a new Veins user. I was trying to install veins, Sumo and Omnet in my Ubuntu 20.04.02 LTS. 

I will be using Veins 5.2
I am running sumo 1.11 (build and installed from github)
While installing Omnetpp (5.7), i encountered an error 


Creating executable: out/gcc-release//osg-intro
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFLastDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteEncodedStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsTiled@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsByteSwapped@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFlushData@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFreeDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFScanlineSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteEncodedTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteBufferSetup@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFTileSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFRGBAImageOK@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFClose@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteRawStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetTagExtender@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetFieldDefaulted@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBATileExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFStripSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFMergeFieldInfo@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetWarningHandler@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetConfiguredCODECs@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmalloc@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmemcpy@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFClientdata@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFrealloc@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmemset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBAStripExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteCheck@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetWriteOffset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFDefaultStripSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsBigEndian@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpoppler.so.97: undefined reference to `TIFFFdOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteScanline@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `_TIFFfree@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfStrips@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadEncodedTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `TIFFClientOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFlush@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFErrorExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfDirectories@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteRawTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFCreateDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `TIFFOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetSubDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFUnlinkDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadEncodedStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFCurrentDirOffset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsCODECConfigured@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFUnsetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFDataWidth@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFRewriteDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetSizeProc@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetErrorHandler@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadScanline@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfTiles@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:96: out/gcc-release//osg-intro] Error 1
make[1]: *** [Makefile:147: osg-intro] Error 2
make[1]: *** Waiting for unfinished jobs....
fallback.cc
MobileNode.cc
Creating executable: out/gcc-release//tictoc
OsgEarthScene.cc
RambleNode.cc
WaypointTrackerNode.cc
Creating executable: out/gcc-release//osg-earth
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFLastDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteEncodedStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsTiled@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsByteSwapped@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFlushData@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFreeDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFScanlineSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteEncodedTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteBufferSetup@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFTileSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFRGBAImageOK@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFClose@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteRawStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetTagExtender@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetFieldDefaulted@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBATileExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFStripSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFMergeFieldInfo@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetWarningHandler@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetConfiguredCODECs@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmalloc@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmemcpy@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFClientdata@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFrealloc@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `_TIFFmemset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadRGBAStripExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteCheck@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetWriteOffset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFDefaultStripSize@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsBigEndian@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpoppler.so.97: undefined reference to `TIFFFdOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteScanline@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `_TIFFfree@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfStrips@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadEncodedTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `TIFFClientOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFFlush@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFErrorExt@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfDirectories@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFWriteRawTile@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFCreateDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeotiff.so.5: undefined reference to `TIFFOpen@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetSubDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFUnlinkDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadEncodedStrip@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFCurrentDirOffset@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFIsCODECConfigured@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFUnsetField@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFDataWidth@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFRewriteDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFGetSizeProc@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetErrorHandler@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFSetDirectory@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFReadScanline@LIBTIFF_4.0'
/usr/bin/ld: /lib/libgdal.so.26: undefined reference to `TIFFNumberOfTiles@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:102: out/gcc-release//osg-earth] Error 1
make[1]: *** [Makefile:146: osg-earth] Error 2
make: *** [Makefile:35: allmodes] Error 2






I configured using ./configure command and startied build using make -j3 command. 

I tried cleaning using make cleanall  several times but everytime i am getting this error. 

I would like to have both CMDend ant QTENV both enabled on omnetpp


Best Regards, 
Anik

Rudolf Hornig

unread,
Jan 6, 2022, 6:09:31 AMJan 6
to OMNeT++ Users
This is an issue on your system. (probably libtiff is not properly installed). I would probably just disable osgearth/openscenegraph in configure.user as you would probably not need 3D visualization anyway and that is that pull in the above erroneous components.
Reply all
Reply to author
Forward
0 new messages