[ome-users] ERROR: Could not import omero.cli! (/opt/Ice-3.5.1/python/IcePy.so: undefined symbol: PyUnicodeUCS4_AsUTF8String

Karen M. Fernsler kmfernsler at lbl.gov
Thu Mar 24 21:39:18 GMT 2016


Thank you Jmarie!  Yes, our version of Python was compiled with UCS-2.  

I will try compiling ice with that as you suggest.

-k
--


On Thu, Mar 24, 2016 at 02:46:14PM +0000, Jean-Marie Burel (Staff) wrote:
> Hi Karen
> 
> The ice tar gzip file was built using Python compiled with UCS-4.
> It seems that your version of Python 2.7 was compiled with UCS-2. Could
> you confirm?
> 
> One approach could be to build Ice from source, using the Python version
> you have installed.
> You will have to install few extra dependencies, if not already installed,
> in order to do so.
> 
> See https://doc.zeroc.com/display/Ice35/Building+Ice+from+Source
> 
> 
> For example:
> 
> curl -o /etc/yum.repos.d/zeroc-ice-el6.repo \
> http://download.zeroc.com/Ice/3.5/el6/zeroc-ice-el6.repo
> 
> yum -y install openssl-devel bzip2-devel expat-devel
> yum -y install db53 db53-devel db53-utils mcpp-devel
> 
> mkdir /tmp/ice-download
> cd /tmp/ice-download
> curl -Lo Ice-3.5.1.tar.gz
> https://zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz
> tar xvf Ice-3.5.1.tar.gz
> cd Ice-3.5.1
> cd cpp
> make && make install
> cd ../py
> virtualenv -p /usr/bin/python2.7 ice-env
> set +u
> source ice-env/bin/activate
> set -u
> make && make install
> set +u
> deactivate
> set -u
> 
> 
> 
> 
> Cheers
> 
> Jmarie
> 
> 
> The University of Dundee is a registered Scottish Charity, No: SC015096
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


More information about the ome-users mailing list