Apologies if this has already been answered; I am having trouble finding an existing post (either on SE or linux forums) which solves the issue.
I need to install the package(s) that enables the -lSM and -lICE linker options for compiling some C/C++ code that uses plotting libraries (see here for an example: C Compiling and Linking).
Here's a snippet of the error messages I'm getting:
/usr/bin/ld: cannot find -lSM /usr/bin/ld: cannot find -lICE collect2: error: ld returned 1 exit status
I am quite certain that the issue is the package simply not being installed. What is the name of the package? I am running on CentOS7/Redhat.