discuss-gnustep
[Top][All Lists]
Advanced

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

undefined symbol: xmlGetWarningsDefaultValue


From: Pascal Bourguignon
Subject: undefined symbol: xmlGetWarningsDefaultValue
Date: Sun, 13 May 2001 04:36:34 +0200 (CEST)

On Linux-SuSE-7.1, with the latest  CVS, compiled with gcc 2.95.2, I'm
getting the dreadfull

    undefined symbol: xmlGetWarningsDefaultValue

error.


address@hidden ProjectCenter]$ 
/local/GNUstep/System/Apps/ProjectCenter.app/ProjectCenter
/local/GNUstep/System/Apps/ProjectCenter.app/ix86/linux-gnu/gnu-gnu-gnu/ProjectCenter:
 error while loading shared libraries: 
/local/gnustep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1:
 undefined symbol: xmlGetWarningsDefaultValue


Well, althrough I've run ldconfig several times, I've inserted:

    /local/GNUstep/System/Libraries/ix86/
    /local/GNUstep/System/Libraries/ix86/linux-gnu
    /local/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu

at the beginning of /etc/ld.so.conf, I've checked that:

        libxml2.so.2 (libc6) => 
/local/GNUstep/System/Libraries/ix86/linux-gnu/libxml2.so.2
        libxml2.so (libc6) => 
/local/GNUstep/System/Libraries/ix86/linux-gnu/libxml2.so

are in the output of ldconfig -p (and before:

        libxml.so.1 (libc6) => /usr/lib/libxml.so.1
        libxml.so (libc6) => /usr/lib/libxml.so
        libxmi.so.0 (libc6) => /usr/lib/libxmi.so.0
        libxmi.so (libc6) => /usr/lib/libxmi.so

),  finally  I'm  not  surprised  that ld.so  can't  find  the  symbol
xmlGetWarningsDefaultValue,  because it  appears that  libxml2  is not
listed  in  the  Dynamic  Section  as a  NEEDED  library,  in  neither
gnustep-base.so.1 nor ProjectCenter executable. (-lxml2 is given as an
argument to link ProjectCenter through).


Is this an error with the makefiles (a missing compilte-time option?),
or should I upgrade the  compiler (and therefore, gcc 2.95.2 marked as
no-good for gnustep)?





address@hidden ProjectCenter]$ objdump --all-headers 
`/local/GNUstep/System/Apps/ProjectCenter.app/ProjectCenter  
--full-executable-path`  | sed -e '/Sections:/,$d'


/local/GNUstep/System/Apps/ProjectCenter.app/ix86/linux-gnu/gnu-gnu-gnu/ProjectCenter:
     file format elf32-i386
/local/GNUstep/System/Apps/ProjectCenter.app/ix86/linux-gnu/gnu-gnu-gnu/ProjectCenter
architecture: i386, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x08049980

Program Header:
    PHDR off    0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
         filesz 0x000000c0 memsz 0x000000c0 flags r-x
  INTERP off    0x000000f4 vaddr 0x080480f4 paddr 0x080480f4 align 2**0
         filesz 0x00000013 memsz 0x00000013 flags r--
    LOAD off    0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
         filesz 0x000155a4 memsz 0x000155a4 flags r-x
    LOAD off    0x000155c0 vaddr 0x0805e5c0 paddr 0x0805e5c0 align 2**12
         filesz 0x00007810 memsz 0x00007c60 flags rw-
 DYNAMIC off    0x0001ccd8 vaddr 0x08065cd8 paddr 0x08065cd8 align 2**2
         filesz 0x000000f8 memsz 0x000000f8 flags rw-
    NOTE off    0x00000108 vaddr 0x08048108 paddr 0x08048108 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--

Dynamic Section:
  NEEDED      libProjectCenter.so.0
  NEEDED      libgnustep-gui.so.0
  NEEDED      libgmodel.so.0
  NEEDED      libgnustep-base.so.1
  NEEDED      libobjc.so.1
  NEEDED      libssl.so.0
  NEEDED      libcrypto.so.0
  NEEDED      libgmp.so.3
  NEEDED      libpthread.so.0
  NEEDED      libdl.so.2
  NEEDED      libm.so.6
  NEEDED      libc.so.6
  INIT        0x8049808
  FINI        0x805267c
  HASH        0x8048128
  STRTAB      0x8048afc
  SYMTAB      0x804845c
  STRSZ       0xa56
  SYMENT      0x10
  DEBUG       0x0
  PLTGOT      0x8065c58
  PLTRELSZ    0xa0
  PLTREL      0x11
  JMPREL      0x8049768
  REL         0x8049650
  RELSZ       0x118
  RELENT      0x8
  VERNEED     0x8049630
  VERNEEDNUM  0x1
  VERSYM      0x804955c

Version References:
  required from libc.so.6:
    0x0d696910 0x00 02 GLIBC_2.0


address@hidden ProjectCenter]$ objdump --all-headers 
/local/gnustep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1 
 | sed -e '/Sections:/,$d'


/local/gnustep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1:
     file format elf32-i386
/local/gnustep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00067640

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x001f860c memsz 0x001f860c flags r-x
    LOAD off    0x001f8620 vaddr 0x001f9620 paddr 0x001f9620 align 2**12
         filesz 0x0003de8c memsz 0x0003e930 flags rw-
 DYNAMIC off    0x00236404 vaddr 0x00237404 paddr 0x00237404 align 2**2
         filesz 0x000000a8 memsz 0x000000a8 flags rw-

Dynamic Section:
  NEEDED      libc.so.6
  SONAME      libgnustep-base.so.1
  INIT        0x650f0
  FINI        0x1c2690
  HASH        0x94
  STRTAB      0x89d0
  SYMTAB      0x28f0
  STRSZ       0x8584
  SYMENT      0x10
  PLTGOT      0x236608
  PLTRELSZ    0x1288
  PLTREL      0x11
  JMPREL      0x63e68
  REL         0x11bd0
  RELSZ       0x52298
  RELENT      0x8
  TEXTREL     0x0
  VERNEED     0x11b90
  VERNEEDNUM  0x1
  VERSYM      0x10f72

Version References:
  required from libc.so.6:
    0x0d696912 0x00 04 GLIBC_2.2
    0x0d696911 0x00 03 GLIBC_2.1
    0x0d696910 0x00 02 GLIBC_2.0


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]