[SOLVED] missing libgomp.so.1

Post here if you are a new Porteus member and you're looking for some help.
User avatar
imam
White ninja
White ninja
Posts: 27
Joined: 11 Dec 2011, 04:17
Location: Indonesia

[SOLVED] missing libgomp.so.1

Post#1 by imam » 23 Dec 2011, 15:22

Hello,
I'm having a problem when going to install inkscape on Porteus 1.1 RC2. Some of the lib is not available, where can I get it?

Code: Select all

root@porteus:/home/guest# inkscape
inkscape: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory
Is it required additional lib other than the above? Where can I get a list of lib are in need for each module?

thanks..
Last edited by imam on 04 Jan 2012, 15:56, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing libgomp.so.1

Post#2 by Hamza » 23 Dec 2011, 17:49

Code: Select all

slackyd -u && slackyd -d inkscape
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing libgomp.so.1

Post#3 by Ahau » 23 Dec 2011, 18:43

I'm stuck in windows at the moment, so I can't double check this...but google reveals that libgomp.so.1 is included in the gcc package, which ought to be included in the default ISO, in the 'devel' module. Have you moved the devel module out of /porteus/base/ ? If so, try activating it and see if that does the trick.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
imam
White ninja
White ninja
Posts: 27
Joined: 11 Dec 2011, 04:17
Location: Indonesia

Re: missing libgomp.so.1

Post#4 by imam » 24 Dec 2011, 09:24

@Hamza:
Thanks but I just add all modules in offline mode, because sometime my internet connection doesn't work properly on Porteus.

@Ahau:
Thanks for your response :)
did you mean module libsigc++-2.2.9-x86_64-1sl.xzm, I was try but I see same massage. Does any other modules may I can try?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing libgomp.so.1

Post#5 by Hamza » 24 Dec 2011, 21:10

Code: Select all

ldd /path/to/inkscape | grep "Not found" 
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing libgomp.so.1

Post#6 by Ahau » 24 Dec 2011, 22:30

no, by gcc, I meant the gnu c compiler, which is a package included with the standard porteus ISO, in the development module. It's not included in the module repo because it's already in the default ISO.

Check your /mnt/sdXY/porteus/base/ folder (where XY is your device and partition number) for a module named "007-devel.xzm" (005-devel.xzm if you are using 64-bit porteus).

-----

I just downloaded inkscape via slackyd, and it found a -ton- of dependencies:
atkmm-2.22.5-i486-1sl.txz
inkscape-0.48.2-i486-1sl.txz
cairo-1.10.2-i486-2.txz
jasper-1.900.1-i486-3.txz
cairomm-1.9.8-i486-1sl.txz
libsigc++-2.2.9-i486-1sl.txz
djvulibre-3.5.24-i486-1.txz
libwmf-0.2.8.4-i486-5.txz
fftw-3.2.2-i486-1.txz
libwpd-0.8.14-i486-1.txz
gc-7.1-i486-5sl.txz
libwpg-0.1.3-i486-7sl.txz
glibmm-2.27.99.2-i486-1sl.txz
lxml-2.2.8-i686-1sl.txz
gsl-1.15-i486-1sl.txz
numpy-1.4.1-i686-3sl.txz
gtkmm-2.24.0-i486-1sl.txz
openexr-1.7.0-i486-1.txz
gtkspell-2.0.16-i486-1.txz
pangomm-2.28.2-i486-1sl.txz
ilmbase-1.0.2-i486-1.txz
imagemagick-6.6.6_10-i486-1.txz

Downloading/installing all of those allowed inkscape to run for me.

Where did you get your inkscape module? I'm not sure why it's not picking up libgomp from gcc in the first place, if you have the devel module installed and activated, unless the module is overwriting your /etc/ld.so.conf...
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
imam
White ninja
White ninja
Posts: 27
Joined: 11 Dec 2011, 04:17
Location: Indonesia

Re: missing libgomp.so.1

Post#7 by imam » 25 Dec 2011, 10:49

@Hamza » 24 Dec 2011, 00:49 ( slackyd -u && slackyd -d inkscape )

Code: Select all

root@porteus:~# slackyd -u && slackyd -d inkscape

Warning: package `data' isn't standard. Skipping.
*** Warning: Broken packages list, 5 files are missing.
*** Try to force update or fix your slackyd.conf.

Repository: slackware [ftp.heanet.ie]
`- Downloading FILELIST.TXT [Already update]             
Repository: slacky [darkstar.ist.utl.pt]
`- Downloading FILELIST.TXT [Already update]             


Warning: package `data' isn't standard. Skipping.
Checking inkscape-0.48.2-x86_64-1sl: done.

Found 15 missing dependencies:
libgiomm-2.4.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libpangomm-1.4.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libglibmm-2.4.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libcairomm-1.0.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libsigc-2.0.so.0 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libgtkspell.so.0 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libgsl.so.0 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libgslcblas.so.0 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libaspell.so.15 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libwpg-0.1.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libwpg-stream-0.1.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libwpd-0.8.so.8 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libMagick++.so.4 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libMagickCore.so.4 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)
libgc.so.1 required by:
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkview)
 --> Package: inkscape-0.48.2-x86_64-1sl (/usr/bin/inkscape)

Searching libgiomm-2.4.so.1: found 1 package.
Searching libpangomm-1.4.so.1: found 1 package.
Searching libglibmm-2.4.so.1: found 1 package.
Searching libcairomm-1.0.so.1: found 1 package.
Searching libsigc-2.0.so.0: found 1 package.
Searching libgtkspell.so.0: nothing found.
Searching libgsl.so.0: found 1 package.
Searching libgslcblas.so.0: found 1 package.
Searching libaspell.so.15: nothing found.
Searching libwpg-0.1.so.1: found 1 package.
Searching libwpg-stream-0.1.so.1: found 1 package.
Searching libwpd-0.8.so.8: nothing found.
Searching libMagick++.so.4: nothing found.
Searching libMagickCore.so.4: nothing found.
Searching libgc.so.1: found 1 package.

Download cairomm-1.9.8-x86_64-1sl.txz [from slacky] ? [y/N] y
>> Required libsigc++ >= 2.2.9 [by cairomm-1.9.8-x86_64-1sl.txz]
Download libsigc++-2.2.9-x86_64-1sl.txz [from slacky] ? [y/n] y
Download gc-7.1-x86_64-1sl.txz [from slacky] ? [y/N] y
Download glibmm-2.27.99.2-x86_64-1sl.txz [from slacky] ? [y/N] y
Download gsl-1.15-x86_64-1sl.txz [from slacky] ? [y/N] y
Download libwpg-0.1.3-x86_64-1sl.txz [from slacky] ? [y/N] y
Download pangomm-2.28.1-x86_64-1sl.txz [from slacky] ? [y/N] y

Downloading libsigc++-2.2.9-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading cairomm-1.9.8-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading gc-7.1-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading glibmm-2.27.99.2-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading gsl-1.15-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading libwpg-0.1.3-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Downloading pangomm-2.28.1-x86_64-1sl.txz. [Already downloaded]         
* Verify md5 checksum: ok.
Post by Hamza » 25 Dec 2011, 04:10 ldd /path/to/inkscape | grep "Not found"
what are code for? & how to implement?

@Ahau: Yes, found 005-devel.xzm in /mnt/sdb2/porteus/base ( IPorteus-v1.1-rc2-x86_64 )
I got inkscape from /porteus/x86_64/modules/graphic/inkscape-0.48.2-x86_64-1sl.xzm

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing libgomp.so.1

Post#8 by Hamza » 25 Dec 2011, 11:15

Wait before to stop the process. You should have a similar list to Ahau's one.
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing libgomp.so.1

Post#9 by Ahau » 26 Dec 2011, 07:49

Thanks, imam. Hamza's /path/to/inkscape/ wasn't meant to be literal, you need to replace /path/to with the actual path to the inkscape binary. This ought to be:

ldd /usr/bin/inkscape

which returns (for me):

Code: Select all

ldd /usr/bin/inkscape
        linux-vdso.so.1 =>  (0x00007fff9a9ff000)
        libgtkmm-2.4.so.1 => not found
        libatkmm-1.6.so.1 => not found
        libgdkmm-2.4.so.1 => not found
        libgiomm-2.4.so.1 => not found
        libpangomm-1.4.so.1 => not found
        libglibmm-2.4.so.1 => not found
        libcairomm-1.0.so.1 => not found
        libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f230ee4c000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00007f230ec38000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f230e8e5000)
        libsigc-2.0.so.0 => not found
        libgtkspell.so.0 => not found
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f230e2a8000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f230dff3000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f230ddd2000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f230daa8000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f230d87a000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f230d66e000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f230d44f000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f230d1a0000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f230cf55000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f230cccd000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f230ca98000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f230c849000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f230c646000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f230c441000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f230c238000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f230bf21000)
        libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007f230bcfa000)
        libgsl.so.0 => not found
        libgslcblas.so.0 => not found
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f230b9b9000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f230b7b5000)
        libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007f230b5a8000)
        libpopt.so.0 => /lib64/libpopt.so.0 (0x00007f230b39f000)
        libaspell.so.15 => /usr/lib64/libaspell.so.15 (0x00007f230b0e0000)
        libwpg-0.1.so.1 => not found
        libwpg-stream-0.1.so.1 => not found
        libwpd-0.8.so.8 => not found
        libMagick++.so.4 => not found
        libMagickCore.so.4 => not found
        libgc.so.1 => not found
        liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007f230aea6000)
        libpoppler.so.13 => /usr/lib64/libpoppler.so.13 (0x00007f230aa9e000)
        libpoppler-glib.so.6 => /usr/lib64/libpoppler-glib.so.6 (0x00007f230a862000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f230a5dd000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f230a2d8000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f230a0c3000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2309ea5000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f2309afe000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f23098fc000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f23096ed000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f23094e4000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f23092d2000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f23090c8000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f2308ec5000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f2308cc3000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f2308abd000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f230884e000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f2308644000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2308428000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2308224000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f230801f000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2307e04000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f2307be2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f230f0a3000)
        libjpeg.so.8 => /usr/lib64/../lib64/libjpeg.so.8 (0x00007f23079a8000)
As you can see, libgomp is found on my system, at /usr/lib64/libgomp.so.1. I'm downloading the other packages through slackyd, after updating (slackyd -u), then running slackyd -d inkscape. It downloaded the following txz's:

Code: Select all

atkmm-2.22.4-x86_64-1sl.txz
cairomm-1.9.8-x86_64-1sl.txz
gc-7.1-x86_64-1sl.txz
glibmm-2.27.99.2-x86_64-1sl.txz
gsl-1.15-x86_64-1sl.txz
gtkmm-2.24.0-x86_64-1sl.txz
gtkspell-2.0.16-x86_64-1.txz
imagemagick-6.6.6_10-x86_64-1.txz
libsigc++-2.2.9-x86_64-1sl.txz
libwpd-0.8.14-x86_64-1.txz
libwpg-0.1.3-x86_64-1sl.txz
pangomm-2.28.1-x86_64-1sl.txz
after that, I was still missing libjasper, libfftw, libwmf, libIlmImf (in openexr), and libImath (in ilmbase), as these are likely dependencies of dependencies, so slackyd didn't find them on the first pass. So grab those, too:

slackyd -g jasper
slackyd -g fftw
slackyd -g libwmf
slackyd -g openexr
slackyd -g ilmbase

After installing all of those, Inkscape finally opened. That's one heck of a package right there!

Now, back to libgomp -- You already have this on your system, but it's not being found by inkscape, which as I said before, leads me to believe you have something overwriting your ld.so.conf. Please post the output of the following commands:

Code: Select all

cat /etc/ld.so.conf

Code: Select all

clear ; echo 'these modules contain an ld.so.conf file:'; for x in `ls /mnt/live/memory/images`; do if [ -e /mnt/live/memory/images/$x/etc/ld.so.conf ]; then echo $x; fi; done
Note that the second command should all be one long line, with no line breaks. You can copy and paste that into your console by highlighting it, pressing ctrl+c, and then click on your console to get a prompt, and press ctrl+shift+v to paste.

If the output of the second command has any modules other than 001-core.xzm, you need to deactivate them. I already know you have a nonstandard package in your system that was converted from a .deb file (because slackyd is complaining about a package called 'data'), but that is not necessarily the culprit here.

I hope this helps resolve the problem :) If not, I'll throw all of this together into a module and post it somewhere for you to download.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing libgomp.so.1

Post#10 by Hamza » 26 Dec 2011, 12:18

Code: Select all

mkdir -p /tmp/inkscape && installpkg -root /tmp/inkscape /var/slackyd/*.t?z && dir2xzm /tmp/inkscape ~/Desktop/Inkscape_deps.xzm
Use this command to make a module of all deps not found on your system.
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing libgomp.so.1

Post#11 by Ahau » 26 Dec 2011, 18:22

Yes, sorry -- as Hamza correctly points out, you'll have to install (or convert to xzm) all of the packages that slackyd downloads, and they can be found in /var/slackyd. I left that out of my post above.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing libgomp.so.1

Post#12 by Hamza » 26 Dec 2011, 19:01

Time to write a pbuild for Imam :)
NjVFQzY2Rg==

User avatar
imam
White ninja
White ninja
Posts: 27
Joined: 11 Dec 2011, 04:17
Location: Indonesia

Re: missing libgomp.so.1

Post#13 by imam » 04 Jan 2012, 15:55

Thank you very much Hamza and Ahau, your explanation is very helpful :)

Post Reply