Shipra Swati posted an update in the group Setup Support: 9 years, 7 months ago · View
Hi all, while installing iCS I am getting error:
/usr/bin/ld: iCS_main.o: undefined reference to symbol ’pthread_create@@GLIBC_2.1’
//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Any help or hint would be appreciated!!
Hey, I sorted it out. Just added one more option at the time of configuration, LIBS=’-L/usr/local/lib -lpthread’ resulting into:
sudo ./configure –enable-sumo –enable-ns3 –enable-applications –with-geographic- libraries=/usr/local/lib –with-geographic-includes=/usr/local/include/GeographicLib –with-xerces-libraries=/usr/local/lib –with-xerces-includes=/usr/local/include/xercesc LIBS=’-L/usr/local/lib -lpthread’.
Then ”sudo make” and ”sudo make install” and the process completed successfully.