You are not logged in.

#1 2010-01-14 03:30:42

wincen
Member
Registered: 2004-05-09
Posts: 15

symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

I'm trying to use mysql-query-browser and I keep getting this error:

symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Some searching in the forum shows that people previously fixed this by updating libxml2 and zlib.  I have done so and even changed my mirror to the arch ftp but continue to get the same result.

mysql-query-browser was working for me last week, I probably did a pacman -Syu and maybe something broke?  Does anyone know of a solutin to this?

Offline

#2 2010-01-14 16:02:37

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 175

Re: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Try building it manually from the ABS. Usually that will fix things like this or at the very least tell you which part fails to build because of it.


▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

#3 2010-01-14 16:59:59

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

I had this problem for months on end, and many updates didn't fix it. Then it just went away by itself.

Sorry, not helpful in any way…

Last edited by Barrucadu (2010-01-14 17:00:08)

Offline

#4 2010-01-19 07:29:39

wincen
Member
Registered: 2004-05-09
Posts: 15

Re: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Updated zlib today to zlib-1.2.3.4-4
Still didn't work.
Reinstalled libxml2.
Then it started working again.

Offline

#5 2010-01-19 10:21:08

wincen
Member
Registered: 2004-05-09
Posts: 15

Re: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

very bizare.  it was working.  i made no changes to my system.  now it stopped working agian, same error.

Offline

#6 2010-01-27 02:26:18

wincen
Member
Registered: 2004-05-09
Posts: 15

Re: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

After a ton of searching online I found that in the /usr/lib directory is a problematic libz.so.1. In my case I have a symbolic link to libz.so.1.2.3.4. The sym link seemed correct to me, but I deleted the sym link and linked it again which fixed the problem.  mysql-query-browser works again from the CLI. It doesn't work from the start menu.

I have to do this everytime I restart my computer and want t ouse mysql-query-browser. Not sure why and it's annoying, but it's a workaround.

Offline

Board footer

Powered by FluxBB