Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: shotwell problem

  1. #1
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default shotwell problem

    Hi,
    does somebody know what might be broken.
    If i start shotwell i get this message.

    shotwell: symbol lookup error: /usr/lib64/libgee.so.2: undefined symbol: g_malloc0_n
    Not sure if i killed something, but would like to get it going again.
    Can not really figure it out, but i reinstalled shotwell. Did not solve the problem.

    Anyhow, if someone knows what might be wrong, i appreciate for the tip.

    Thanks.

  2. #2

    Default Re: shotwell problem

    Hello yester64,

    First of all could you give us a bit more information?
    Which version of openSUSE you have?
    If you use KDE or GNOME?
    Quote Originally Posted by yester64
    If i start shotwell i get this message.
    shotwell: symbol lookup error: /usr/lib64/libgee.so.2: undefined symbol: g_malloc0_n
    Not sure if i killed something, but would like to get it going again.
    Can not really figure it out, but i reinstalled shotwell. Did not solve the problem.
    How did you install shotwell?
    This error message means that you miss the gee library.
    If you look at the installation site of shotwell you'll see this:
    Quote Originally Posted by Shotwell site
    You can install dependencies for Shotwell like this:
    Code:
    $ sudo zypper install dbus-1-devel gconf2-devel gtk-devel libgudev-1_0-devel libexif-devel libgphoto2-devel libsoup-devel libxml2-devel sqlite3-devel libunique-devel libwebkit-devel
    In openSUSE 11.2, the vala package is too old for Shotwell, so you'll need to build it from source yourself. gee-1.0 is unavailable as a package, so you'll need to build it as well.
    Best of luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  3. #3
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: shotwell problem

    I apologize.

    Well, its Gnome and i have Suse 11.2 running.
    I installed it over suse's software manager. The version is 0.5.

    It ran before so its kind of strange.
    But i did install also gcc i think, perhaps this broke the gee library. Not sure really.

    I will try to do as you wrote.

    btw. shotwell and f-spot are the only photo manager that let you browse to a whole collection instead of folders. Am i right? Because thats what i want. Shotwell works pretty good.

    Thanks already. I will let you as soon as i have tried it.

  4. #4
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: shotwell problem

    i installed it, but it did not solve the problem.
    I might have to reinstall shotwell from the ground.

  5. #5

    Default Re: shotwell problem

    Hello yester64,

    Some things are still not clear to me.
    Quote Originally Posted by yester64
    i installed it, but it did not solve the problem.
    I might have to reinstall shotwell from the ground.
    What do you mean by it? What did you install?
    Quote Originally Posted by yester64
    It ran before so its kind of strange.
    But i did install also gcc i think, perhaps this broke the gee library. Not sure really.
    How do you mean it ran before?
    In an older version of openSUSE?

    Quote Originally Posted by yester64
    btw. shotwell and f-spot are the only photo manager that let you browse to a whole collection instead of folders. Am i right? Because thats what i want. Shotwell works pretty good.
    I don't know I don't use photo-managers.

    I tried it myself and encountered the same problem and found a solution.
    So here's a step for step guide on how to install shotwell under openSUSE 11.2:

    1. Install shotwell from the Software Search. I used this One-click install.
    2. Install most of the shotwell dependencies by running this command:
      Code:
      sudo zypper install dbus-1-devel gconf2-devel gtk-devel libgudev-1_0-devel libexif-devel libgphoto2-devel libsoup-devel libxml2-devel sqlite3-devel libunique-devel libwebkit-devel
    3. There's one dependency missing and that is libgee. That's because there's no package for openSUSE 11.2 so you need to compile it yourself. Download gee from here. (direct link to 0.5 source)
    4. Extract the archief libgee-0.5.0.tar.bz2.
    5. Open a konsole and run this commands:
      Code:
      cd /<PATH>/<TO>/<Extracted>/<Archief>/libgee-0.5.0/
    6. Now it's time to compile libgee by running these commands:
      Code:
      ./configure
      Code:
      make
      Code:
      sudo make install
    7. The library is installed in /usr/local/lib/ but shotwell is looking in /usr/lib/ so we will make a symbolic link to the library with this command:
      Code:
      sudo ln -s /usr/local/lib/libgee.so.2 /usr/lib/
    8. Now you can run shotwell.

    There's probably a better way to install the package directly in to /usr/lib but I don't know how.

    Best of luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  6. #6
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    249

    Default Re: shotwell problem

    Hi,

    I also installed Shotwell and when I run it as root it works. When I run it as me I get:

    Code:
    shotwell: symbol lookup error: shotwell: undefined symbol: g_malloc0_n
    So some right or path thing I guess?

  7. #7

    Default Re: shotwell problem

    Hello Ricochet,

    First of all there's a lot of information missing in your post.
    So could you tell us which version of openSUSE you have?
    And which version of Shotwell you installed?
    How did you install Shotwell?
    Did you installed the dependencies and compiled libgee from source?
    Quote Originally Posted by Ricochet
    I also installed Shotwell and when I run it as root it works.
    Make sure that the symbolic link is in /usr/lib.
    If it is in /lib only root will be able to access it.

    And could you post the output of these commands:
    Code:
    file /usr/lib/libgee.so.2.0.0
    Code:
    file /lib/libgee.so.2.0.0
    Code:
    file /usr/lib/libgee.so.2.0.0
    Best of luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  8. #8
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    249

    Default Re: shotwell problem

    Hmm, you are so right, I should know better.

    I'm running 11.2 x64 with Gnome. I followed your instructions in this thread.

    Following your commands:

    file /usr/lib/libgee.so.2
    /usr/lib/libgee.so.2: symbolic link to `/usr/local/lib/libgee.so.2'

    There is no libgee.so.2.0.0

    file /lib/libgee.so.2.0.0
    /lib/libgee.so.2.0.0: cannot open `/lib/libgee.so.2.0.0' (No such file or directory)

    There also isn't a .so.2

    So that's probably the problem?

    I installed Shotwell with the opensuse.org software one click thingy...
    From there I followed your post.

    Thanks!

  9. #9

    Default Re: shotwell problem

    Hello Ricochet,

    Quote Originally Posted by Ricochet
    Following your commands:

    file /usr/lib/libgee.so.2
    /usr/lib/libgee.so.2: symbolic link to `/usr/local/lib/libgee.so.2'

    There is no libgee.so.2.0.0

    file /lib/libgee.so.2.0.0
    /lib/libgee.so.2.0.0: cannot open `/lib/libgee.so.2.0.0' (No such file or directory)

    There also isn't a .so.2

    So that's probably the problem?
    First of all I noted that I've posted a command twice.
    I actually meant this command:
    Code:
    file /usr/local/lib/libgee.so.2.0.0
    And I discovered that it doesn't matter if the library is in /usr/lib or in /usr/local/lib.

    Quote Originally Posted by Ricochet
    shotwell: symbol lookup error: shotwell: undefined symbol: g_malloc0_n
    This is a different message then the OP had.
    Maybe it's a different library which shotwell can't find.
    So could you run these commands and post the output:
    Code:
    cd /usr/bin
    Code:
    ldd -d -r ./shotwell
    Best of luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  10. #10
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    249

    Default Re: shotwell problem

    Hi,

    The result:

    Code:
    /usr/bin # ldd -d -r ./shotwell
    	linux-vdso.so.1 =>  (0x00007fff89b41000)
    	libgee.so.2 => /usr/local/lib/libgee.so.2 (0x00007f8a6d162000)
    	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f8a6cec1000)
    	libgconf-2.so.4 => /usr/lib64/libgconf-2.so.4 (0x00007f8a6cc82000)
    	libgphoto2.so.2 => /usr/lib64/libgphoto2.so.2 (0x00007f8a6ca04000)
    	libgphoto2_port.so.0 => /usr/lib64/libgphoto2_port.so.0 (0x00007f8a6c7fb000)
    	libexif.so.12 => /usr/lib64/libexif.so.12 (0x00007f8a6c5be000)
    	libm.so.6 => /lib64/libm.so.6 (0x00007f8a6c369000)
    	libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f8a6c01c000)
    	libunique-1.0.so.0 => /usr/lib64/libunique-1.0.so.0 (0x00007f8a6be11000)
    	libwebkit-1.0.so.2 => /usr/lib64/libwebkit-1.0.so.2 (0x00007f8a6ac54000)
    	libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f8a6a653000)
    	libsoup-2.4.so.1 => /usr/lib64/libsoup-2.4.so.1 (0x00007f8a6a3ff000)
    	libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f8a6a153000)
    	libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f8a69f37000)
    	libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f8a69cb9000)
    	libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f8a69a6f000)
    	libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f8a697c7000)
    	libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 (0x00007f8a695c2000)
    	libgudev-1.0.so.0 => /usr/lib64/libgudev-1.0.so.0 (0x00007f8a693ba000)
    	libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f8a69198000)
    	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8a68f7c000)
    	libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f8a68d37000)
    	libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f8a68b32000)
    	libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f8a6886b000)
    	libc.so.6 => /lib64/libc.so.6 (0x00007f8a68510000)
    	libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f8a6830c000)
    	libORBit-2.so.0 => /usr/lib64/libORBit-2.so.0 (0x00007f8a6809b000)
    	libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f8a67e5b000)
    	libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f8a67c51000)
    	libdl.so.2 => /lib64/libdl.so.2 (0x00007f8a67a4d000)
    	libz.so.1 => /lib64/libz.so.1 (0x00007f8a67837000)
    	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f8a674fb000)
    	libenchant.so.1 => /usr/lib64/libenchant.so.1 (0x00007f8a672ef000)
    	libgailutil.so.18 => /usr/lib64/libgailutil.so.18 (0x00007f8a670e7000)
    	libgeoclue.so.0 => /usr/lib64/libgeoclue.so.0 (0x00007f8a66ed7000)
    	libgstvideo-0.10.so.0 => /usr/lib64/libgstvideo-0.10.so.0 (0x00007f8a66ccf000)
    	libgstbase-0.10.so.0 => /usr/lib64/libgstbase-0.10.so.0 (0x00007f8a66a91000)
    	libgstreamer-0.10.so.0 => /usr/lib64/libgstreamer-0.10.so.0 (0x00007f8a667b1000)
    	libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f8a66591000)
    	libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f8a66385000)
    	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f8a66161000)
    	libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f8a65f26000)
    	libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f8a65cfd000)
    	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f8a65a77000)
    	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f8a65842000)
    	libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007f8a6561a000)
    	libicui18n.so.42 => /usr/lib64/libicui18n.so.42 (0x00007f8a65262000)
    	libicuuc.so.42 => /usr/lib64/libicuuc.so.42 (0x00007f8a64f07000)
    	libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f8a64ca2000)
    	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8a64994000)
    	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f8a6478e000)
    	libgnutls.so.26 => /usr/lib64/libgnutls.so.26 (0x00007f8a644d8000)
    	libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f8a64260000)
    	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f8a6404e000)
    	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f8a63e44000)
    	libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f8a63c41000)
    	libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f8a63a36000)
    	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f8a6382d000)
    	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f8a63622000)
    	libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f8a6341f000)
    	libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f8a6321c000)
    	libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f8a62fc2000)
    	libxcb-render-util.so.0 => /usr/lib64/libxcb-render-util.so.0 (0x00007f8a62dbe000)
    	libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f8a62bb5000)
    	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f8a62998000)
    	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8a62782000)
    	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8a62564000)
    	libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007f8a62357000)
    	libudev.so.0 => /lib64/libudev.so.0 (0x00007f8a6214a000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f8a6d3ac000)
    	librt.so.1 => /lib64/librt.so.1 (0x00007f8a61f41000)
    	libpcre.so.0 => /lib64/libpcre.so.0 (0x00007f8a61d13000)
    	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f8a61aea000)
    	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8a618d3000)
    	libicudata.so.42 => /usr/lib64/libicudata.so.42 (0x00007f8a6078d000)
    	libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f8a60584000)
    	libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f8a60367000)
    	libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f8a60163000)
    	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f8a5ff5f000)
    	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f8a5fd5a000)
    undefined symbol: g_realloc_n	(./shotwell)
    undefined symbol: g_malloc0_n	(./shotwell)

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •