how to resolve libgomp.spec missing while attempting to install rmagick gem with ruby 2.3.8 | Rails 3.2.22.5 | Amazon Linux 2018.03
The libgomp.spec file is not available in the expected location. To resolve this issue we had to symlink the libgomp.spec
from gcc 6.4.1 into the /usr/lib64/
directory
ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.spec /usr/lib64/libgomp.spec
ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.a /usr/lib64/libgomp.a
ln -s /usr/lib64/libgomp.so.1.0.0 /usr/lib64/libgomp.so
Thank you to @3D0G for the solution from this post:
gcc: error: libgomp.spec: No such file or directory with Amazon Linux 2017.09.1
Adding this question / answer for easier finding of the solution in regards to the issue with rmagick gem installation.
-fopenmp does not include omp.h on amazon linux?
As usual, header files such as omp.h come with relevant version of gcc compiler. When the compiler can't find the header file, I guess you are using the different version compiler (other than 4.8.5 in this case).
You can find all gcc versions by typing:
sudo yum list installed | grep gcc
If there are other versions of gcc such as gcc72, you can erase them by:
sudo yum erase gcc72
After that, you will compile the code successfully.
Unable to install data.table in R version 3.4.1
Adding the following symbolic links worked.
ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.spec /usr/lib64/libgomp.spec
ln -s /usr/lib/gcc/x86_64-amazon-linux/6.4.1/libgomp.a /usr/lib64/libgomp.a
ln -s /usr/lib64/libgomp.so.1.0.0 /usr/lib64/libgomp.so
Disable IntelliTrace during execution of application
Disable IT completely:
Tools -> Options -> IntelliTrace -> [ ] Enable IntelliTrace
or figure out what exactly event type degrades the performance and disable it:
Tools -> Options -> IntelliTrace -> IntelliTrace Events
What are the benefits of types being first-class objects?
Take a look at Agda2, ats-lang.org and other languages with dependent types. Not quite what you asked, but related.
Related Topics
Displaying Image on Point Hover in Plotly
R: Replacing Foreign Characters in a String
Plot Multiple Datasets with Ggplot
R Cannot Allocate Memory Though Memory Seems to Be Available
How to Build a Crossword-Like Plot for a Boolean Matrix
Replace Rbind in For-Loop with Lapply? (2Nd Circle of Hell)
Stop Ggplot2 from Dropping Data Points Outside of Axis Limits
Remove Rows Which Have All Nas in Certain Columns
Filled.Contour in R 3.0.X Throws Error
Replace a Subset of a Data Frame with Dplyr Join Operations
Ggplot2: How to Transparently Shade Alternate Days on a Plot
Create Link to the Other Part of the Shiny App
R 3.5 Is Not Available for Linux
How to Remove Na Data in Only One Columns