Problem linking - what does this error mean?

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default Problem linking - what does this error mean?

    I'm trying to install Oracle on a Debian Linux system
    (actually a LindowsOS machine). It blows up trying to link several programs
    with the following message:

    /lib/libgcc_s.so.1: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'

    Oracle doesn't support Debian, so no help there. I've invested quite a lot
    of time using apt (under aptitude) to bring the Lindows box up to snuff.
    I'm running gcc 3.0 and glibc 2.2.5. Although this problem has similar
    symptoms to problems installing Oracle as seen before, the solutions
    proposed do not work.

    The problem is, I don't understand the error message. I think I might
    be able to rectify the problem if I only understood the error message.
    dl_iterate_phdr is in libc.a. I tried extracting dl-iteratephdr-static.o(sic)
    and dl-iteratephdr.o and linking against them - still no success.

    What is ld looking for? Why the @GLIBC_2.2.4?

    Please help

    Dan Mercer
    [email]dmercer@mn.rr.com[/email]


    Dan Mercer Guest

  2. Similar Questions and Discussions

    1. Linking Error
      I'm desperate. I've re-installed Contribute 3 and now cannot add or edit a link or create a new page. When I try and do it, I get the message "The...
    2. linking problem
      Hi guys, I really need ur help in this. I have a form that its attributes are the primary keys of other tables. **Example: I have two tables...
    3. oracle8.1.6 install on aix5.1 linking error
      I install oracle8.1.6(64bit) on aix5.1(kernal is 32bit, but hardware support 64bit). Got error when linking: Error in invoking target part_on of...
    4. Compile/Linking problem
      Hello, So it seems that there still is an incompatibility between GD and libpng-1.2.x... fine So I installed into a dedicated directory an...
    5. How to solve linking problem???Please help!!!
      Hi all, I have received an oracle based application from one of my vendors who says that they have run successfully it on Tru64 & Sun (64 bit)....
  3. #2

    Default Re: Problem linking - what does this error mean?

    "Dan Mercer" <dmercer@mn.rr.com> writes:
    > I'm trying to install Oracle on a Debian Linux system
    You may get better answers in comp.os.linux.development.apps ...
    > /lib/libgcc_s.so.1: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    This says: "/lib/libgcc_s.so.1 has a dependency on symbol
    dl_iterate_phdr(), version GLIBC_2.2.4, but no such symbol was
    found in any library at runtime"

    This symbol is normally found (defined) in libc.so.6
    > I've invested quite a lot
    > of time using apt (under aptitude) to bring the Lindows box up to snuff.
    In the process, you probably ended up with a weird mixture of
    glibc-2.2.5 and whatever Lindows originally shiped with.

    Run "ldd failing-exe", find out which libc.so.6 it binds to, and
    check whether that libc.so.6 defines dl_iterate_phdr(). It probably
    doesn't, and must be removed (but do so *very* carefully -- messing
    up libc.so.6 can make the system unbootable in no time).

    Cheers,
    --
    In order to understand recursion you must first understand recursion.
    Paul Pluzhnikov Guest

  4. #3

    Default Re: Problem linking - what does this error mean?


    "Paul Pluzhnikov" <ppluzhnikov@earthlink.net> wrote in message news:un0fiqadd.fsfYB8X@earthlink.net...
    : "Dan Mercer" <dmercer@mn.rr.com> writes:
    :
    : > I'm trying to install Oracle on a Debian Linux system
    :
    : You may get better answers in comp.os.linux.development.apps ...
    :
    : > /lib/libgcc_s.so.1: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    :
    : This says: "/lib/libgcc_s.so.1 has a dependency on symbol
    : dl_iterate_phdr(), version GLIBC_2.2.4, but no such symbol was
    : found in any library at runtime"
    :
    : This symbol is normally found (defined) in libc.so.6

    Which I have in /lib - it's a link to /lib/libc-2.2.5. /usr/lib has
    a libc.so - but it's only 178 bytes long. I tried symbolically linking
    /lib/libc-2.2.5 to /usr/lib/libc.so but that had no effect. I was able
    to get Oracle to install by adding -Wl,--allow-shlib-undefined in a file
    oracle uses to get load lib options from (I had to remove the line
    when I installed the Client because the server software uses gcc
    to link and Client uses ld).
    :
    : > I've invested quite a lot
    : > of time using apt (under aptitude) to bring the Lindows box up to snuff.
    :
    : In the process, you probably ended up with a weird mixture of
    : glibc-2.2.5 and whatever Lindows originally shiped with.
    :
    : Run "ldd failing-exe", find out which libc.so.6 it binds to, and
    : check whether that libc.so.6 defines dl_iterate_phdr(). It probably
    : doesn't, and must be removed (but do so *very* carefully -- messing
    : up libc.so.6 can make the system unbootable in no time).

    I did ldd against one of the programs that finally compiled and it links
    against /lib/libc.so.6. nm against the library gets me "no symbols".
    I can grep dl_iterate_phdr from the library. Does it not recognize the VERSION?
    If not, why not.

    Thanks for the help,

    Dan Mercer
    [email]dmercer@mn.rr.com[/email]

    :
    : Cheers,
    : --
    : In order to understand recursion you must first understand recursion.


    Dan Mercer Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139