[oe-commits] [Bug 5139] New: libxml2.so: undefined reference to `gzopen64'

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Mon Jun 1 02:27:37 UTC 2009


http://bugs.openembedded.net/show_bug.cgi?id=5139

           Summary: libxml2.so: undefined reference to `gzopen64'
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: kevyn.alexandre.pare at gmail.com


http://elinux.org/BeagleBoardAndOpenEmbeddedGit
git checkout origin/stable/2009 -b stable/2009
Ubuntu 8.10
gcc 4.3.2

The problem arrive when update-mime-database is called see attach.

The call:

ccache gcc -I/home/kapare/oe/tmp/staging/i686-linux/usr/include/libxml2
-I/home/kapare/oe/tmp/staging/i686-linux/usr/include/glib-2.0
-I/home/kapare/oe/tmp/staging/i686-linux/usr/lib/glib-2.0/include  
-isystem/home/kapare/oe/tmp/staging/i686-linux/usr/include -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings 
-L/home/kapare/oe/tmp/staging/i686-linux/usr/lib
-Wl,-rpath-link,/home/kapare/oe/tmp/staging/i686-linux/usr/lib
-Wl,-rpath,/home/kapare/oe/tmp/staging/i686-linux/usr/lib -Wl,-O1 -o
update-mime-database update_mime_database-update-mime-database.o
-L/home/kapare/oe/tmp/staging/i686-linux/usr/lib -lxml2 -lglib-2.0 


Search 
ll /home/kapare/oe/tmp/staging/i686-linux/usr/lib
lrwxrwxrwx 1 kapare kapare    13 2009-05-31 17:02 libz.so -> libz.so.1.2.3
lrwxrwxrwx 1 kapare kapare    13 2009-05-31 17:02 libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x 1 kapare kapare 87539 2009-05-31 17:02 libz.so.1.2.3

# From oe lib
objdump -T /home/kapare/oe/tmp/staging/i686-linux/usr/lib/bk.kap/libz.so.1.2.3
| grep gzopen64
----- NOTHING FOUND

# From desktop lib
objdump -T /usr/lib/libz.so.1.2.3.3 | grep gzopen64
00004330 g    DF .text    0000001d  Base        gzopen64


Solution to solve my problem was to copy my desktop /usr/lib/libz.so.1.2.3.3 to
/home/kapare/oe/tmp/staging/i686-linux/usr/lib and delete old one and make
symlink to for libz.so and libz.so.1

Reference that help:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442292
http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg113088.html
https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/151045

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list