Skip to content

Make debian packages work out of the box on a variety of Ubuntu versions (12.10, 13.04, 13.10, 14.04) #105

@GoogleCodeExporter

Description

@GoogleCodeExporter
Currently the debian package is build on Ubuntu 12.04.3. It is not guaranteed 
to work out of the box on more recent Ubuntu versions. 

For example on Ubuntu 13.10 you will get an error like this when running app:

    File "/opt/cyan/cyms-base-py27/lib/python2.7/site-packages/ctypes/__init__.py", line 340, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: libudev.so.0: cannot open shared object file: No such file or directory

The problem is that on Ubuntu 12.xx only libudev0 package is available. And on 
Ubuntu 13.xx only libudev1 package can be installed. The solution is to create 
a link using the "ln" command:

    /lib/x86_64-linux-gnu$ sudo ln -sf libudev.so.1 libudev.so.0

To resolve this problem in a debian package, a post install script should 
create such a link. The debian package is already running some post install 
script that set chmod +x on the cefclient and subprocess executables.

When testing various Ubuntu versions, test it along with all dependencies 
listed in the deb package, see Issue 99.

Original issue reported on code.google.com by [email protected] on 9 Jan 2014 at 8:52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions