undefined symbol: gzopen64
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2005
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    undefined symbol: gzopen64

    Running golly produces the title error:

    /usr/local/src/golly-2.0-gtk[306]% ./golly
    ./golly: symbol lookup error: ./golly: undefined symbol: gzopen64

    Various internet searching leads me to believe this is a problem in libz

    /usr/local/src/golly-2.0-gtk[307]% ldd golly | grep libz
    libz.so.1 => /lib/libz.so.1 (0x4350d000)

    The following libz versions are installed,

    /usr/local/src/golly-2.0-gtk[308]% locate libz
    /lib/libz.so.1
    /lib/libz.so.1.2.3
    /usr/lib/libz.so

    but all contain gzopen, not gzopen64

    /usr/local/src/golly-2.0-gtk[309]% objdump -T /lib/libz.so.1 | grep gzopen
    435107e0 g DF .text 00000019 Base gzopen

    /usr/local/src/golly-2.0-gtk[310]% objdump -T /usr/lib/libz.so | grep gzopen
    435107e0 g DF .text 00000019 Base gzopen

    I've seen a similar problem traced to apache with libxml, but the fix doesn't seem applicable in my case. Also, I see various packages through yum that include libz, but I have no way of knowing which, if any, actually contain gzopen64 as opposed to gzopen.

    Any suggestions as to which package to try? Should I compile libz myself (sources?)? Could this be an artifact of running in 32-bit mode on an Intel Core2Duo?

    Thanks for any help.

    parish

  2. #2
    Join Date
    Feb 2005
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Solved!

    I took a while, but I've finally got golly, a great version Conway's Game of Life running. I emailed the primary authors late last night and got a response in a matter of minutes! As it turns out, they are using ubuntu as their linux development platform, and after a little poking around we discovered that ubuntu is using a modified version of the zlib package, one that includes gzopen64. Interestingly, not only is gzopen64 missing from fedora's libz, its also missing from the source files available at zlib.net.

    In any case, to make a long story short(er), I located the zlib source at ubuntu.com, compiled it, and after pointing my LD_LIBRARY_PATH at this new libz, was able to run golly.

    Off to play the game of life...

    Daniel

  3. #3
    Join Date
    Oct 2008
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: undefined symbol: gzopen64

    I have the same problem. Could you please tell me where exactly have you found the actual source on ubuntu.com? All I can find is the deb package! Thanks

  4. #4
    Join Date
    Jun 2009
    Location
    9ja://coalcity
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: undefined symbol: gzopen64

    Quote Originally Posted by kbs1
    I have the same problem. Could you please tell me where exactly have you found the actual source on ubuntu.com? All I can find is the deb package! Thanks
    I found this: http://archive.ubuntu.com/ubuntu/poo....3.orig.tar.gz
    Checking it out.

    I got the same error message this morning trying to run the beta release of Blender. 'Yum provides gzopen64' yielded nothing. Apparently, the developers are using Ubuntu. Someone needs to step up and build an rpm from this source so others can benefit.
    Last edited by twohot; 23rd July 2010 at 09:14 AM. Reason: More Information

  5. #5
    Join Date
    Feb 2005
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: undefined symbol: gzopen64

    Quote Originally Posted by kbs1
    I have the same problem. Could you please tell me where exactly have you found the actual source on ubuntu.com? All I can find is the deb package! Thanks
    Hey ksb1, I'd forgotten about this thread and somehow never saw your question; sorry about that.

    In any case, the file pointed to by twohot is the one I used.

    Quote Originally Posted by twohot
    Actually haven't tried this since moving to Fedora 13. I'll be interested to hear how it goes.

    Good luck.

Similar Threads

  1. Replies: 2
    Last Post: 9th September 2009, 05:05 PM
  2. glXGetSwapIntervalMESA undefined symbol
    By g0l3m in forum Using Fedora
    Replies: 0
    Last Post: 17th November 2006, 11:53 AM
  3. Undefined symbol error with yum
    By Samson in forum Using Fedora
    Replies: 0
    Last Post: 23rd July 2005, 09:30 PM
  4. FC2->FC4 ::= GTK/Undefined Symbol
    By slick in forum Using Fedora
    Replies: 0
    Last Post: 16th June 2005, 07:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •