Page 1 of 2

Scrivener not working on Ubuntu 13.10

Posted: Sat Oct 19, 2013 12:21 am
by zelthian
I updated to Ubuntu 13.10 recently. Since then, Scrivener will not launch. When attempting to launch from the command line, I get this error:

/usr/share/scrivener/bin/Scrivener: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

I have uninstalled cleanly and reinstalled with no luck. Any help would be appreciated.

-Mike

PS: This is Ubuntu 13.10 64-bit.

Re: Scrivener not working on Ubuntu 13.10

Posted: Sat Oct 19, 2013 10:06 pm
by edf

Code: Select all

sudo apt-get install libfontconfig1

Re: Scrivener not working on Ubuntu 13.10

Posted: Sun Oct 20, 2013 11:45 pm
by zelthian
First thing I did. It is already installed.

Ponderous.

Re: Scrivener not working on Ubuntu 13.10

Posted: Mon Oct 21, 2013 11:52 am
by rfk
I updated to Ubuntu 13.10 recently. Since then, Scrivener will not launch


Sorry to hear about this. I would suppose that many (most?) Scrivener linux users use Ubuntu and that many are thinking about upgrading to 13.10 at the moment, so this would be a big issue for all of us.

I don't have any solutions to offer at the moment, as I haven't upgraded so can't replicate, but I do have a couple of questions to the OP and everyone else to try and make sure we can all use Scrivener in 13.10 or, alternatively, not upgrade (yet) so that we can still use it.

So, to the OP:
1. Have you resolved the problem?
2. Does Scrivener work using an earlier Kernel?

To everyone else:
Has anyone else got this problem in 13.10 after upgrading?
Has anyone upgraded and not had this problem?

Re: Scrivener not working on Ubuntu 13.10

Posted: Mon Oct 21, 2013 3:06 pm
by zelthian
1. Have you resolved the problem?

Sadly, no.

2. Does Scrivener work using an earlier Kernel?

I'm not savvy enough to discern between kernel and distribution versions. That said, it did work fine under Ubuntu 13.04, and I keep my OS updated with patches as they were released.

Re: Scrivener not working on Ubuntu 13.10

Posted: Mon Oct 21, 2013 5:12 pm
by Bdillahu
To everyone else:
Has anyone else got this problem in 13.10 after upgrading?
Has anyone upgraded and not had this problem?


I've upgraded and not had that issue... I didn't have the smoothest upgrade possible (another package got hung up and gave me some issues), but so far, it's been ok.

Bruce

Re: Scrivener not working on Ubuntu 13.10

Posted: Mon Oct 21, 2013 9:31 pm
by edf
I'm still on 12.04 -- I use my machines quite heavily for development, and Ubuntu tends to make extensive needless changes (lightdm, anyone?) that break things during upgrades. I've start to upgrade only to LTS releases, and only when I can spare a week or so of downtime.

As for the Scrivener problem on 13.10, try this command:

Code: Select all

LD_LIBRARY_PATH='/usr/share/scrivenerlib' ldd /usr/share/scrivener/bin/Scrivener


It will show you the library that Scrivener can find at runtime.

Probaby Scrivener needs the 32-bit version of the fontconfig library, libfontconfig1:i386. It is possible that the 13.10 upgrade removed this during its cleanup (Scrivener doesn't appear to list it as a dependency).

Re: Scrivener not working on Ubuntu 13.10

Posted: Tue Oct 22, 2013 4:35 pm
by zelthian
It seems Ubuntu 13.10 went to a multi-arch approach. The old ia32-libs package is no longer available. There are many libraries missing beyond libfontconfig. What a mess.

At this point, I'll have to decide whether to move back to 13.04 or move to the Windows version.

Re: Scrivener not working on Ubuntu 13.10

Posted: Wed Oct 23, 2013 8:02 pm
by thorjansen
Somebody running that Second Life game posted a way to make their program run, perhaps that would apply to 13.10 and Scrivener?

http://wiki.phoenixviewer.com/ia32-libs-in-ubuntu-13-10

Re: Scrivener not working on Ubuntu 13.10

Posted: Wed Oct 23, 2013 8:48 pm
by bodacius
Yay! It worked for me! Thank you very much, thorjansen!

Re: Scrivener not working on Ubuntu 13.10

Posted: Wed Oct 23, 2013 10:33 pm
by zelthian
Adding the raring repository and installing ia32-libs worked for me as well.

I'm not sure what this means for Scrivener and Ubuntu going forward. I leave that to the developer, but I can't imagine it's going to make anything any easier.

Re: Scrivener not working on Ubuntu 13.10

Posted: Thu Oct 24, 2013 7:21 pm
by edf
Maybe it's time that closed-source developers started releasing 64-bit builds of their software instead of 32-bit.

It's been over ten years since x86-64 was introduced to the marketplace. I doubt that even Intel still produces desktop/laptop CPUs that aren't 64-bit.

Re: Scrivener not working on Ubuntu 13.10

Posted: Sun Oct 27, 2013 10:48 pm
by JG Starsoupsky
On Ubuntu 13.10, ia32-libs is gone, and you'll have to either use a workaround, or install the <libpackage>:i386 files.

For 13.10, I had to run :

Code: Select all

sudo apt-get install  libgstreamer-plugins-base0.10-0:i386


See this askubuntu post, which covers the method I used : http://askubuntu.com/a/107249/8844

So, for the current version, I ran :

Code: Select all

ldd /usr/share/scrivener/bin/Scrivener | egrep 'not found'


I had to find the packages which contained those libraries, so I installed apt-file (I believe you could also use `dpkg -S`) to find the proper ones. Once there, you can append :i386 to get what you're missing.

Re: Scrivener not working on Ubuntu 13.10

Posted: Tue Oct 29, 2013 5:33 pm
by rogue_haggis
Just for the record -- the deb installs perfectly under the 32-bit version of Saucy, using dpkg. I haven't tested much, but the install didn't throw out any error codes and nothing obviously unusual popped up in 2 minutes of using it.

Re: Scrivener not working on Ubuntu 13.10

Posted: Fri Nov 01, 2013 7:12 pm
by JGill
I tried installing the ia32-libs file(s) using sudo apt-get, and it couldn't find them. However it did say that ia32-libs had been replaced by three other files. I installed them, it added another during the installation, and when I installed Scrivener it worked just as it did with 13.04. I'm sorry, but I didn't record the names of the files. However if you try installing ia32-libs in a terminal window, look for the suggested files and install them. Worked for me. J