Python libSlice.so.35 import error

in Help Center
I installed Ice on Ubuntu 14.04 following the directions on the download page, however, when I try to run one of the ice demos such as "minimal" I get this error:
When I first installed Ice last week everything worked fine, but now I get the above error. My only thought as to what has changed was maybe I did:
I've tried to uninstall / purge / reinstall, but I still get the same ImportError.
Traceback (most recent call last): File "Server.py", line 11, in <module> import sys, traceback, time, Ice File "/usr/lib/python2.7/dist-packages/Ice.py", line 47, in <module> import IcePy ImportError: /usr/lib/libSlice.so.35: undefined symbol: _ZN15IceUtilInternal13int64ToStringEl
When I first installed Ice last week everything worked fine, but now I get the above error. My only thought as to what has changed was maybe I did:
sudo apt-get update sudo apt-get upgrade
I've tried to uninstall / purge / reinstall, but I still get the same ImportError.
0
Comments
I was not able to reproduce this problem. Seems that somehow you have installed an Ice Python and Slice library that are incompatible.
Can you check that you are actualy using the ZeroC repository for Ubuntu 14.04, the repository list file is http://download.zeroc.com/Ice/3.5/ubuntu/ice3.5-trusty.list, as noted in the instructions the file must be copied to /etc/apt/sources.list.d/ice-trusty.list
If you are using the right repository, you can try to re-install the relevant packages:
1. Removed the existing ice3.5-trusty.list file in /etc/apt/sources.list.d/
2. Downloading it again using the following code 3. Finally removing and downloading the relevant packages as you suggested.
Sadly I still get the same error message. I confirmed that the ice3.5-trusty.list file in /etc/apt/sources.list.d does include:
Can you post the output of this command:
Here's the output:
If you want to stick with ZeroC packages you should remove the other package:
Note that this package was most likely installed as a dependency by other packages, so you will want to remove the other packages too. If you cannot remove the other packages that depend in Ubuntu Ice packages you will need to remove ZeroC ice packages and use the packages provided by Ubuntu to avoid conflicts.
I would like to keep ice working with python 2.7, would libslice from the ubuntu repository allow that? If not, do you have any suggestions as to how I keep it working with python 2.7 and also keep the mumble-server package?
If you want to keep mumble-server package, you can use python-zeroc-ice from Ubuntu repository that should work with python2.7. If you go this route first uninstall packages from ZeroC repository to avoid further conflicts.
If you want to keep ZeroC packages you will need to recreate mumble-server packages to depend on ZeroC Ice packages.
When you say to uninstall the packages from the zeroc repository, do you mean just the ones that python-zeroc-ice replaces or the whole ice package?