emacs24 while byte compiling will keep asking for a shared lib not existing in my system

Bug #1300506 reported by Pascal Mons
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs24 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I was running emacs24 on Precise 12.04 after an install from this ppa @ https://launchpad.net/~cassou/+archive/emacs

Install worked fine. Until recently when installing new programs (SuperCollider) which were byte compiling for emacs24.

For some mysterious reason at that time emacs24 was trying to open a shared library libgvc.so.6 which was never present in my system for a good reason : It will be on the soon to be released Trusty 14.04. The library is libgvc.so.6 which is part of a Graphviz package libgvc6. At that time I had subscribed to the GraphvizDev ppa @ https://launchpad.net/~gviz-adm/+archive/graphviz-dev which later on forbid me to intall the package python-pygraphviz . Then I decided to remove this ppa and install Graphviz from the regular Precise 12.04 repository for packages graphviz libcdt4 libgraphviz-dev libcgraph5 libgvc5. This later package libgvc5 contains the shared lib libgvc.so.5 . Here is the error message :

[...]
Install cmake-data for emacs24
install/cmake-data: Byte-compiling for emacs24
emacs24: error while loading shared libraries: libgvc.so.6: cannot open shared object file: No such file or directory
Install dictionaries-common for emacs24
install/dictionaries-common: Byte-compiling for emacsen flavour emacs24
emacs24: error while loading shared libraries: libgvc.so.6: cannot open shared object file: No such file or directory
ERROR: install script from dictionaries-common package failed
dpkg: error processing emacs24 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up emacs24-common-non-dfsg (24.3+1-1~ppa1~precise1) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
$

I tried to remove alltogether Graphviz and cmake ... to no avail. Does anyone know why emacs24 keeps asking for this particular shared lib ?

I tried to install the packages from Trusty 14.04 as well but didn't go far as it's a chain of broken dependencies.

Whem removing emacs24 , the system re-install emacs23 and there is no problem in byte compiling all the installed apps. Why was it working for some days then suddenly asking for a non existent shared lib ? Can anyone sheds light on this ?

Is there any workaround ?

At the moment I returned to emacs23.

Pascal Mons (anton+)
description: updated
description: updated
description: updated
Revision history for this message
Pascal Mons (anton+) wrote :

I have looked to the shared libraries cache and there is no trace (as expected) of the library reported as missing libgvc.so.6 (this is a symlink to libgvc.so.6.0.0 the actual lib).

$ ldconfig -p | grep libgvc
 libgvc.so.5 (libc6,x86-64) => /usr/lib/libgvc.so.5
 libgvc.so (libc6,x86-64) => /usr/lib/libgvc.so
$
$ cd /
$
$ locate libgvc.so.5
/usr/lib/libgvc.so.5
/usr/lib/libgvc.so.5.0.0
$ locate libgvc.so.6
$

To cir-convent this bug I resorted to make a symlink libgvc6.0

$ sudo ln -sv libgvc.so.5.0.0 /usr/lib/libgvc.so.6

$ ls -l /usr/lib/libgvc*
lrwxrwxrwx 1 root root 15 Jan 14 14:42 /usr/lib/libgvc.so -> libgvc.so.5.0.0
lrwxrwxrwx 1 root root 15 Jan 14 14:42 /usr/lib/libgvc.so.5 -> libgvc.so.5.0.0
-rw-r--r-- 1 root root 506184 Jan 14 14:42 /usr/lib/libgvc.so.5.0.0
lrwxrwxrwx 1 root root 11 Apr 1 16:02 /usr/lib/libgvc.so.6 -> libgvc.so.5
$

However this is not a regular procedure. I would like to know where the request from emacs24 install comes from ? for a non-existent shared library.

Revision history for this message
era (era) wrote :

If I understand your bug report correctly, you are not using emacs24 as shipped by Ubuntu. Is there something we can fix in Ubuntu or should this be converted into a question?

  New => Incomplete

Changed in emacs24 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for emacs24 (Ubuntu) because there has been no activity for 60 days.]

Changed in emacs24 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.