Subject: Re: x11/gtk2 doesn't build on Linux (SuSE 8.1)
To: Johnny Lam <jlam@NetBSD.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: tech-pkg
Date: 03/29/2005 09:07:36
On Mon, 28 Mar 2005, Johnny Lam wrote:
> (1) ls -l /usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.*
> (2) objdump -p -j .dynamic /usr/X11R6/lib/libXft.so
> (3) objdump -p -j .dynamic /usr/pkg/lib/libXft.so
>
Here we go:
harenber@wppc78:~> ls -l /usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.*
lrwxrwxrwx 1 root root 21 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.a -> /usr/pkg/lib/libXft.a
-rw-r--r-- 1 root root 919 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.la
lrwxrwxrwx 1 root root 22 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.so ->
/usr/pkg/lib/libXft.so
lrwxrwxrwx 1 root root 40 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.so.1 ->
/usr/pkg/share/x11-links/lib/libXft.so.1
lrwxrwxrwx 1 root root 42 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.so.1.1 ->
/usr/pkg/share/x11-links/lib/libXft.so.1.1
lrwxrwxrwx 1 root root 24 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.so.2 ->
/usr/pkg/lib/libXft.so.2
lrwxrwxrwx 1 root root 28 2005-03-28 19:08
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libXft.so.2.1.2 ->
/usr/pkg/lib/libXft.so.2.1.2
harenber@wppc78:~> objdump -p -j .dynamic /usr/X11R6/lib/libXft.so
/usr/X11R6/lib/libXft.so: file format elf32-i386
Program Header:
LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
filesz 0x000164d5 memsz 0x000164d5 flags r-x
LOAD off 0x000164e0 vaddr 0x000174e0 paddr 0x000174e0 align 2**12
filesz 0x00000864 memsz 0x00013274 flags rw-
DYNAMIC off 0x00016820 vaddr 0x00017820 paddr 0x00017820 align 2**2
filesz 0x000000e8 memsz 0x000000e8 flags rw-
Dynamic Section:
NEEDED libXrender.so.1
NEEDED libXext.so.6
NEEDED libX11.so.6
NEEDED libfreetype.so.6
NEEDED libc.so.6
SONAME libXft.so.1
INIT 0x3fe0
FINI 0x141b0
HASH 0x94
STRTAB 0x1ed0
SYMTAB 0x9f0
STRSZ 0x12e3
SYMENT 0x10
PLTGOT 0x1791c
PLTRELSZ 0x730
PLTREL 0x11
JMPREL 0x38b0
REL 0x3490
RELSZ 0x420
RELENT 0x8
VERNEED 0x3450
VERNEEDNUM 0x1
VERSYM 0x31b4
RELCOUNT 0x61
Version References:
required from libc.so.6:
0x09691f73 0x00 04 GLIBC_2.1.3
0x0d696911 0x00 03 GLIBC_2.1
0x0d696910 0x00 02 GLIBC_2.0
harenber@wppc78:~> objdump -p -j .dynamic /usr/pkg/lib/libXft.so
/usr/pkg/lib/libXft.so: file format elf32-i386
Program Header:
LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
filesz 0x00010618 memsz 0x00010618 flags r-x
LOAD off 0x00010620 vaddr 0x00011620 paddr 0x00011620 align 2**12
filesz 0x000004e4 memsz 0x0000051c flags rw-
DYNAMIC off 0x0001070c vaddr 0x0001170c paddr 0x0001170c align 2**2
filesz 0x000000f8 memsz 0x000000f8 flags rw-
Dynamic Section:
NEEDED libfontconfig.so.1
NEEDED libfreetype.so.6
NEEDED libz.so.1
NEEDED libXrender.so.1
NEEDED libX11.so.6
NEEDED libc.so.6
SONAME libXft.so.2
RPATH /usr/pkg/lib:/usr/X11R6/lib
INIT 0x31b4
FINI 0xfcd0
HASH 0x94
STRTAB 0x1994
SYMTAB 0x8e4
STRSZ 0xf87
SYMENT 0x10
PLTGOT 0x11818
PLTRELSZ 0x560
PLTREL 0x11
JMPREL 0x2c54
REL 0x2b64
RELSZ 0xf0
RELENT 0x8
VERNEED 0x2b34
VERNEEDNUM 0x1
VERSYM 0x291c
RELCOUNT 0x13
Version References:
required from libc.so.6:
0x09691f73 0x00 03 GLIBC_2.1.3
0x0d696910 0x00 02 GLIBC_2.0
Again: thanks to all the people trying to solve this!!! :)
Cheers,
Torsten
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> <>
<> Torsten Harenberg harenberg@physik.uni-wuppertal.de <>
<> Bergische Universitaet <>
<> FB C - Physik Tel.: +49 (0)202 439-3521 <>
<> Gaussstr. 20 Fax : +49 (0)202 439-2811 <>
<> 42097 Wuppertal <>
<> <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>