PDA

View Full Version : 1.0.5 Lightsmark gentoo - ./backend: error while loading shared libraries: libgomp.so


yossarianuk
08-04-2008, 04:51 PM
Hi.

Trying to run the Lightsmark demo on gentoo (amd64).


I have unmasked and installed freeimage.

When trying to run it I get

====================================
Lightsmark (Run 1 of 1)
====================================

./backend: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory


Any ideas ?

p.s - works fine on opensuse 11 (amd64)

yossarianuk
08-09-2008, 09:52 AM
Has anyone got it to work in gentoo ?

ivanovic
08-09-2008, 11:03 AM
Jupp, works nicely here. Install the needed dependencies and it will work...

cf http://bugs.gentoo.org/show_bug.cgi?id=216656

yossarianuk
08-09-2008, 10:33 PM
Hi.

Just installed the gentoo ebuild - the same things happens

./backend: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory


Its only the lightmark demo that does this

Any ideas?

ivanovic
08-10-2008, 05:04 AM
Its only the lightmark demo that does this


Yes, you are missing a dependency for this test!

For get-all-deps you will currently need to unmask media-libs/freeimage. A good
solution for this is getting the ebuild from bug #213969 and simply use this
version since it seems to be fine. Just unmask it in
/etc/portage/package.unmask and that's it.


Without media-libs/freeimage the test can not run, it is as simple as this!

yossarianuk
08-10-2008, 02:15 PM
I do have media-libs/freeimage installed....

- Is it worth me trying to get the latest version from http://freeimage.sourceforge.net/download.html ?




morgan@localhost ~ $ emerge -pv media-libs/freeimage

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/freeimage-3.9.3-r1 USE="-doc" 0 kB

ivanovic
08-10-2008, 05:04 PM
You should maybe run revdep-rebuild. That is libgomp.so.1 is part of ggg 4.3.1 over here. So basically I assume that something in your system is broken. Here is my output of equery belongs libgomp.so.1:

# equery belongs libgomp.so.1
[ Searching for file(s) libgomp.so.1 in *... ]
sys-devel/gcc-4.3.1-r1 (/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/libgomp.so.1 -> libgomp.so.1.0.0)
sys-devel/gcc-4.3.1-r1 (/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/32/libgomp.so.1 -> libgomp.so.1.0.0)