cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
drakem
Observer
Observer
7,085 Views
Registered: ‎07-29-2014

libgomp.so.1 not found when running petalinux-config

Hello, 

 

I am running Fedora 20 64bit inside Virtualbox 3.16. 

I installed all the prerequisites and have everything runing seaminly smooth. 

 

After exporting the hardware I set up a petalinux project per the instructions and when I run: petalinux-config --get-hw-description -p <plnx-proj-root>. I get an error that libgomp.so.1 is not found when linking against the hsm executable.

 

An ldd on hsm showed a number of missing links which I corrected in /etc/ld.so.conf. 

 

libgomp.so.1 remains as the only link that it can not find and in fact it is in the library search path. 

 

Anyone run into this problem? Any suggestions for correct? 

 

Thanks,

 

Drake

 

 

0 Kudos
Reply
4 Replies
rfs613
Scholar
Scholar
7,074 Views
Registered: ‎05-28-2013

To install the library: (as root, or using "sudo")
yum install libgomp

Since you are running 64-bit version of fedora, you may actually need the 32-bit version of the library (it depends how petalinux tools are built). In that case, you just add ".i686" suffix to the name, like this:

yum install libgomp.i686

You should not need to fiddle around with /etc/ld.so.conf at all...

Another tip: when you want to know what is the name of the package which contains a specific file you are looking for, use this:

yum provides */libgomp.so.1
0 Kudos
Reply
drakem
Observer
Observer
7,060 Views
Registered: ‎07-29-2014

Thank you! This did fix it. It was the 32bit libraries I was missing. 

0 Kudos
Reply
salahuddin93
Visitor
Visitor
6,433 Views
Registered: ‎02-03-2015

Hi, I'm having the same problem here with 2014.4, did you do anything else rather than installing the 32bit library? I cant get past the issue when running petalinux-build.

 

Thanks :)

0 Kudos
Reply
kevin.jesse
Observer
Observer
6,275 Views
Registered: ‎02-16-2015

I was able to figure out the solution for 2014.4 CentOS 6.6 here. Take a look

 

http://forums.xilinx.com/t5/New-Users-Forum/PetaLinux-build-error/m-p/555835/highlight/false#M15312

0 Kudos
Reply