Shotwell 0.14.0-1 doesn't start
Submitted by an unknown user
Assigned to Lucas Beeler
Link to original bug (#718961)
Description
---- Reported by shotwell-maint@gnome.bugs 2013-03-20 03:52:00 -0700 ----
Original Redmine bug id: 6618
Original URL: http://redmine.yorba.org/issues/6618
Searchable id: yorba-bug-6618
Original author: Geoffroy Kieffer
Original description:
Hi, I did the upgrade yesterday to 0.14.0 to have a try, and shotwell never start. When I run it into the terminal I got this message:
shotwell: error while loading shared libraries: libgexiv2.so.1: cannot open shared object file: No such file or directory
libgexiv2 is installed on my computer, I did a reinstallation of both libgexiv2 and shotwell but it still doesn't respond.
I run Ubuntu 12.10 amd64.
Thank you.
Related issues:
- related to shotwell - 6665: Shotwell daily builds PPA needs gexiv2 updated to 0.6.1 (Fixed)
---- Additional Comments From shotwell-maint@gnome.bugs 2013-09-10 03:40:00 -0700 ----
History
Comment 1
Updated by Forage - 8 months ago
Confirmed. Happens after updating from 0.13 to 0.14. Workaround: sudo ln -s /usr/lib/libgexiv2.so.2 /usr/lib/libgexiv2.so.1
Comment 2
Updated by Jim Nelson 8 months ago
- Category set to build
- Assignee set to Lucas Beeler
- Priority changed from Normal to High
Comment 3
Updated by Lucas Beeler 8 months ago
- Status changed from Open to 5
- Resolution set to fixed
We had to push a new build to Launchpad. This is fixed as of 20 March 2013 at 3:00pm PDT.
Comment 4
Updated by Ken Norris 8 months ago
When it says 'fixed', how does one access the fix? I still get the message "shotwell: error while loading shared libraries: libgexiv2.so.2: cannot open shared object file: No such file or directory" after accessing the Yorba daily-builds ppa and reinstalling.
Ubuntu 12.10 64-bit
Thanx
Comment 5
Updated by Forage - 8 months ago
It was at least fixed in version 0.14.0-1~quantal4 from the stable ppa (ppa:yorba/ppa). That is to say, it worked for me. The dailies might be a different code path in which the fix has not been ported yet.
Comment 6
Updated by Ken Norris 8 months ago
That worked thanks. Reinstall shotwell and update libgexiv2-1 from ppa:yorba/ppa
It seems libgexiv2-1 is not updated (yet) in the daily-builds.
Comment 7
Updated by Jan Moren 8 months ago
I'm seeing the opposite issue today with Quantal and the PPA. shotwell refuses to start because it doesn't find libgexiv2.so.2:
shotwell: error while loading shared libraries: libgexiv2.so.2: cannot open shared object file: No such file or directory
I do have libgexiv2.so.1, but can't seem to find any package giving me version 2.
Comment 8
Updated by Ken Norris 8 months ago
As per advice of Forage above, it's in the libexiv2-1 package from the stable ppa:yorba/ppa NOT the daily-builds ppa.
i.e. disable the daily-builds ppa and activate the stable ppa:yorba/ppa and reinstall both shotwell and libgexiv2-1 packages.
Comment 9
Updated by Lucas Beeler 8 months ago
I just linked this bug to http://redmine.yorba.org/issues/6665. Installation from the daily PPA will produce a version of Shotwell that won't run until #6665 is closed.
Comment 10
Updated by Calin Cerghedean 7 months ago
I tried to install from the stable PPA (0.14.1.1~quantal1) but the package remains broken, due to this error:
E: /var/cache/apt/archives/libgexiv2-1_0.6.1-0quantal1_amd64.deb: trying to overwrite '/usr/lib/libgexiv2.so.2.0.0', which is also in package libgexiv2-2 0.6.1-0ubuntu1
Comment 11
Updated by Lucas Beeler 7 months ago
@Calin:
Did you uninstall the Ubuntu-packaged versions of Shotwell and gexiv2 before installing from the Yorba PPA? That should fix the problem.
Comment 12
Updated by Calin Cerghedean 7 months ago
Yes, I uninstalled, then re-installed Shotwell from the PPA, but still doesn't run because it cannot find the proper version of libgexiv2.
The issue might be that I've already upgraded to Raring, so my software sourced are now pointing to the raring release.
I did disable all the other software sources, except for the Yorba PPA. But since the raring build isn't there, I had to use yorba/ppa/ubuntu quantal.
Maybe it's better to wait until Ubuntu updates their repositories with the new build? However, my shotwell installation was already broken by the raring upgrade, so anything I try from now on will not work (whether I reinstall from ubuntu distros or the PPA, it makes no difference.)
Comment 13
Updated by Jim Nelson 7 months ago
Make sure you uninstall Shotwell and gexiv2, then reinstall.
Comment 14
Updated by Lucas Beeler 7 months ago
And to follow on to what Jim said, I've found the best way to do this is to use Synaptic and select the "Mark for Complete Removal" option on the Ubuntu- provided Shotwell and gexiv2 packages.
Comment 15
Updated by Calin Cerghedean 7 months ago
Sorry, but this is not working for me at all. I cannot tell where apt-get is downloading shotwell from, but it's getting these packages:
The following NEW packages will be installed:
libgexiv2-2 (0.6.1-0ubuntu1)
shotwell (0.14.1-0ubuntu1)
When I try to launch Shotwell, I still get this error:
shotwell: error while loading shared libraries: libgexiv2.so.1: cannot open shared object file: No such file or directory
I've already removed the 2 packages with Synaptic about 4 times.
Is there a way to force apt-get to only look at the Yorba PPA?
Comment 16
Updated by Lucas Beeler 7 months ago
Is there a way to force apt-get to only look at the Yorba PPA?
This is relatively easy to do from Synaptic. First, make sure you've completely removed the existing packages, as discussed in the previous comments on this ticket. Then open Synaptic and examine the lower-left-hand corner of the Synaptic display window. You should see several tab-like buttons titled "Sections", "Status," etc. One of these buttons is labeled "Origin." Click on that button. In the text list above the buttons, you should now see a list of package sources. One of them will say something like "PPA: Yorba/PPA." Click on it. In the main area of the Synaptic window, you will now see only packages sourced from the Yorba PPA. Select and install the GExiv2 and Shotwell packages.
Comment 17
Updated by Calin Cerghedean 7 months ago
Thanks, I followed the steps, and turns out I already had the newer packages from the PPA installed.
I removed them again, and re-installed. Here are the versions:
shotwell: 0.14.1+2404~raring1
libgexiv2-1: 0.6.1+102~raring1
Same problem occurs when I launch shotwell:
shotwell: error while loading shared libraries: libgexiv2.so.1: cannot open shared object file: No such file or directory
Are you sure you are testing this on a 64-bit system? Is it possible you have a bad dependency on the "so.1" binary, which no longer exists?
Please take a look at this again; I really believe the issue is not fixed for all platforms.
Comment 18
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
Comment 19
Updated by Jim Nelson 7 months ago
Yes, we've tested this on 64-bit systems.
Let's ensure you don't have multiple versions of Shotwell installed.
$ find /usr -name "shotwell"
If an older version is installed in /usr/local, that could trigger this problem.
We're also curious what gexiv2 so's are installed:
$ ls /usr/lib/*gexiv*
$ ls /usr/local/lib/*gexiv*
Comment 20
Updated by Calin Cerghedean 7 months ago
That was the problem, another version was installed in /usr/local. I deleted all the relevant folders, and now I can launch the application.
Right now, the only gexiv2 files are:
/usr/lib/libgexiv2.so.2
/usr/lib/libgexiv2.so.2.0.0
Thanks for finding the issue! I reinstalled the packages from the Ubuntu repositories (0.14.1) and everything seems to be back to normal.
Comment 21
Updated by Calin Cerghedean 7 months ago
I know this is unrelated to the above issue, but I noticed this behavior just now, after reinstalling:
When launched from a terminal, the below warnings are generated. Is it possible I'm missing some configuration files?
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-circles'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-circle'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-squares'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-chess'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-stripes'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-blinds'
L 3956 2013-05-01 22:23:20 [CRT] GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: schema 'org.yorba.shotwell.plugins .enable-state' does not define key 'transitions-clock'
L 3956 2013-05-01 22:23:20 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-sidebar'
L 3956 2013-05-01 22:23:20 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-photo- comments'
L 3956 2013-05-01 22:23:20 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-photo- comments'
L 3956 2013-05-01 22:23:21 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-photo- comments'
L 3956 2013-05-01 22:23:21 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-search-bar'
L 3956 2013-05-01 22:23:21 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-sidebar'
L 3956 2013-05-01 22:23:21 [CRT] ConfigurationInterfaces.vala:359: configuration engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preferences.ui' does not define key 'display-sidebar'
Comment 22
Updated by Jim Nelson 7 months ago
It looks like an old GSettings schema file is still installed on your system. It would be located in /usr/local/share/glib-2.0/schemas. You need to delete those as well. In fact, I would run this command:
$ find /usr/local -name "*shotwell*"
And delete anything you didn't get last time.
Once everything's gone, you'll need to reinstall Shotwell again -- that forces the GSettings schema compiler to compile in the newer schema.
Comment 23
Updated by Calin Cerghedean 7 months ago
Thanks again for the detailed instructions! I deleted everything in /usr/local, then re-installed Shotwell.
Everything is working as expected, an no more warnings are generated in the console.
Comment 24
Updated by Que Quotion 2 months ago
+1 and next case:
I have libgexiv2.so.3 installed for some reason, but not libgexiv2.so.2.
Same error, same workaround:
sudo ln -s /usr/lib/libgexiv2.so.3 /usr/lib/libgexiv2.so.2
--- Bug imported by chaz@yorba.org 2013-11-25 21:59 UTC ---
This bug was previously known as bug 6618 at http://redmine.yorba.org/show_bug.cgi?id=6618
Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Resolution: RESOLVED FIXED