[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About building packages in porterbox



On Sat, May 19, 2012 at 4:12 PM, Colin Tuckley <colint@debian.org> wrote:
>
> The problem on armel:
>
> /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-linux-gnueabi/libpciaccess.so:
> undefined reference to `gzopen64@ZLIB_1.2.3.3'
>
> Looks like it might be the same problem as mentioned here:
>
> http://forums.fedoraforum.org/showthread.php?t=228945
>
> Which turns out to be an Ubuntu specific version of zlib which includes
> gzopen64.
>

$ objdump -T /usr/lib/i386-linux-gnu/libz.so.1.2.7 | grep gzopen
0000d720 g    DF .text  00000016  Base        gzopen
0000d740 g    DF .text  00000016  ZLIB_1.2.3.3 gzopen64

$ objdump -T /usr/lib/x86_64-linux-gnu/libz.so.1.2.7 | grep gzopen
000000000000d7f0 g    DF .text  000000000000000d  Base        gzopen
000000000000d800 g    DF .text  000000000000000d  ZLIB_1.2.3.3 gzopen64

$ grep gzopen64 /usr/include/zlib.h
   ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
#    define z_gzopen z_gzopen64
#    define gzopen gzopen64
     ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));


-- 
Regards,
Aron Xu


Reply to: