Comment 15 for bug 151045

Revision history for this message
Miran Gombač (miran-gombac) wrote :

I had the same problem running OpenERP seerver 4.3 on ubuntu server 8.04. Error message when starting openerp server was

Traceback (most recent call last):
  File "tinyerp-server.py", line 68, in <module>
    netsvc.init_logger()
  File "/home/miran/tinyERP-server-4.3/bin/netsvc.py", line 144, in init_logger
    from tools import config
  File "/home/miran/tinyERP-server-4.3/bin/tools/__init__.py", line 30, in <module>
    from convert import *
  File "/home/miran/tinyERP-server-4.3/bin/tools/convert.py", line 43, in <module>
    from lxml import etree
ImportError: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

After googling a bit I found out that the problem is due to libz library and I located two versions of that library and couple of links:

/usr/lib/libz.so.1
/usr/lib/libz.so.1.2.3.3 (good one)
/usr/local/lib/libz.so
/usr/local/lib/libz.so.1
/usr/local/lib/libz.so.1.2.3 (not containing gzopen64) - which I tested with objdump -T /usr/local/lib/libz.so.1.2.3 | grep gzopen64

so I substituted the one in /usr/local/lib with the one form /usr/lib/ and everything worked...

I don't actually know which package brought the faulty libz to the system...

Hope this helps...

take care

Miran