Solaris 10 x86 : shared library mismatched symbols after patch124923-03 Mar 2007 - SUN

This is a discussion on Solaris 10 x86 : shared library mismatched symbols after patch124923-03 Mar 2007 - SUN ; Hello all, I am facing a frustrating problem with my Ultra 20 M2 workstation: Summary of problem: 1) -----------> After I installed patch: 124923-03 Mar 2007, shared library utilities (eg., ld, ldd, etc.) fail to find certain symbols in shared ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Solaris 10 x86 : shared library mismatched symbols after patch124923-03 Mar 2007

  1. Solaris 10 x86 : shared library mismatched symbols after patch124923-03 Mar 2007

    Hello all,

    I am facing a frustrating problem with my Ultra 20 M2 workstation:
    Summary of problem:

    1) ----------->

    After I installed patch: 124923-03 Mar 2007, shared library utilities (eg.,
    ld, ldd, etc.) fail to find certain symbols in shared libraries:


    m[pts/9]:src% ld
    ld.so.1: ld: fatal: relocation error: file /lib/libld.so.4: symbol dbg_desc:
    referenced symbol not found
    ld.so.1: ld: fatal: relocation error: file /usr/ccs/bin/ld: symbol ld32_main:
    referenced symbol not found
    Killed


    --
    m[pts/9]:src% ldd /usr/bin/ls
    ld.so.1: ldd: fatal: relocation error: file /usr/bin/ldd: symbol
    _gelf_getdyndtflags_1: referenced symbol not found
    Killed


    m[pts/9]:src% mcs -p /usr/ccs/bin/ld
    /usr/ccs/bin/ld:

    @(#)SunOS 5.10 Generic 124923-03 Mar 2007



    m[pts/9]:src% mcs -p /lib/libld.so.4
    /lib/libld.so.4:

    @(#)SunOS 5.10 Generic 124923-03 Mar 2007


    m[pts/9]:src% mcs -p /usr/bin/ldd
    /usr/bin/ldd:

    @(#)SunOS 5.10 Generic 124923-03 Mar 2007


    2) ----------->
    When I "init 6" I receive messages

    "Updating Boot Archive"

    then on bring up console says

    "bootadm: no matching entry found: Solaris_reboot_transient"


    I do not know if 1) and 2) are related.


    m1[pts/11]:workstation% uname -a
    SunOS mikefire1 5.10 Generic_125101-08 i86pc i386 i86pc


    Note that the update manager does not show any more patched that can be
    applied. I also tried to re-install this patch to no avail.

    Also the files under 'reloc/' in tha patch are identical to those installed in
    my system (I did a diff on eahc one of them).

    Not being able to use ld is a show stopper since I cannot compile anything
    now.


    ------------------------------- Another problem ------ Lower priority ----

    I also have a SPARC SunBlade1500 with Sol10 but after I applied the
    10_Recommended patch cluster it does not let me logon with messages, (even
    after trying to apply the patch cluster several times) :

    "ld.so.1: Login: fatal relocation error: File /usr/lib/passwdutil.so.1:
    symbol_nsl_fgetspent_r: Referenced symbol not found. ..."

    Any hint will be greately appreciated !


    Michael



  2. Re: Solaris 10 x86 : shared library mismatched symbols after patch124923-03 Mar 2007


    > After I installed patch: 124923-03 Mar 2007, shared library utilities
    > (eg., ld, ldd, etc.) fail to find certain symbols in shared libraries:


    On a X4600 with 124923-03 installed, everything is fine. Here's a list
    of libraries used by ld/ldd, so you can compare sizes/timestamps:

    199440 Mar 5 00:07 /lib/liblddbg.so.4
    337804 Jan 23 2005 /lib/libm.so.2
    1049020 Apr 26 16:51 /usr/ccs/bin/../../../lib/libc.so.1
    135108 Mar 5 00:07 /usr/ccs/bin/../../../lib/libelf.so.1
    418312 Mar 5 00:07 /usr/ccs/bin/../../../lib/libld.so.4

    124923-03 says it needs a reboot after patch installation, have you done
    that?

    mp.
    --
    Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
    | http://www.par.univie.ac.at/solaris/pca/
    Patch Check Advanced | Analyze, download and install patches for Sun
    Solaris

  3. Re: Solaris 10 x86 : shared library mismatched symbols after patch 124923-03 Mar 2007

    "Michael E. Thomadakis" writes:
    > 1) ----------->
    >
    > After I installed patch: 124923-03 Mar 2007, shared library utilities
    > (eg., ld, ldd, etc.) fail to find certain symbols in shared libraries:


    Contact Sun's support group.

    It sounds like the patch didn't install correctly -- perhaps there
    were errors recorded in the log files. I'd suggest backing out the
    patch.

    > m[pts/9]:src% mcs -p /usr/ccs/bin/ld


    The symbol is supposed to be in /lib/ld.so.1.

    > "bootadm: no matching entry found: Solaris_reboot_transient"
    >
    >
    > I do not know if 1) and 2) are related.


    I think they probably are. A patch that doesn't install correctly can
    create a lot of trouble.

    > I also have a SPARC SunBlade1500 with Sol10 but after I applied the
    > 10_Recommended patch cluster it does not let me logon with messages,
    > (even after trying to apply the patch cluster several times) :
    >
    > "ld.so.1: Login: fatal relocation error: File /usr/lib/passwdutil.so.1:
    > symbol_nsl_fgetspent_r: Referenced symbol not found. ..."


    This _also_ sounds like a bad patch installation.

    Do you follow the patch instructions in the README exactly? Some of
    the patches require reboot afterwards -- and they're not kidding.

    --
    James Carlson, Solaris Networking
    Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677

  4. Re: Solaris 10 x86 : shared library mismatched symbols after patch 124923-03 Mar 2007

    On Jun 11, 6:45 am, James Carlson wrote:
    > "Michael E. Thomadakis" writes:
    >
    > > 1) ----------->

    >
    > > After I installed patch: 124923-03 Mar 2007, shared library utilities
    > > (eg., ld, ldd, etc.) fail to find certain symbols in shared libraries:

    >
    > Contact Sun's support group.
    >
    > It sounds like the patch didn't install correctly -- perhaps there
    > were errors recorded in the log files. I'd suggest backing out the
    > patch.
    >
    > > m[pts/9]:src% mcs -p /usr/ccs/bin/ld

    >
    > The symbol is supposed to be in /lib/ld.so.1.
    >
    > > "bootadm: no matching entry found: Solaris_reboot_transient"

    >
    > > I do not know if 1) and 2) are related.

    >
    > I think they probably are. A patch that doesn't install correctly can
    > create a lot of trouble.
    >
    > > I also have a SPARC SunBlade1500 with Sol10 but after I applied the
    > > 10_Recommended patch cluster it does not let me logon with messages,
    > > (even after trying to apply the patch cluster several times) :

    >
    > > "ld.so.1: Login: fatal relocation error: File /usr/lib/passwdutil.so.1:
    > > symbol_nsl_fgetspent_r: Referenced symbol not found. ..."

    >
    > This _also_ sounds like a bad patch installation.
    >
    > Do you follow the patch instructions in the README exactly? Some of
    > the patches require reboot afterwards -- and they're not kidding.
    >
    > --
    > James Carlson, Solaris Networking
    > Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
    > MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677


    James,

    thanks for the reply. I have already opened a service call with SUN
    support. They haven't gotten back to me yet.

    For the Solaris 10_x86 machine, if I recall right, I installed the
    latest recommended patch cluster as soon as I obtained the machine
    back in April to bring it up to date. I have the habit of using '-
    nosave' to avoid letting /var/sadm gets bloated. I have rebooted the
    machine several times since then.

    Is there any remedy besides reinstalling from media (which
    incidentally didn't come with the machine) ? All files in the patch
    match exactly what's installed on my machine so there should be
    something possible to do to rectify the situation instead of
    reinstalling.

    thanks
    Michael



  5. Re: Solaris 10 x86 : shared library mismatched symbols after patch 124923-03 Mar 2007

    On Jun 11, 6:13 am, Martin Paul wrote:
    > > After I installed patch: 124923-03 Mar 2007, shared library utilities
    > > (eg., ld, ldd, etc.) fail to find certain symbols in shared libraries:

    >
    > On a X4600 with 124923-03 installed, everything is fine. Here's a list
    > of libraries used by ld/ldd, so you can compare sizes/timestamps:
    >
    > 199440 Mar 5 00:07 /lib/liblddbg.so.4
    > 337804 Jan 23 2005 /lib/libm.so.2
    > 1049020 Apr 26 16:51 /usr/ccs/bin/../../../lib/libc.so.1
    > 135108 Mar 5 00:07 /usr/ccs/bin/../../../lib/libelf.so.1
    > 418312 Mar 5 00:07 /usr/ccs/bin/../../../lib/libld.so.4
    >
    > 124923-03 says it needs a reboot after patch installation, have you done
    > that?
    >
    > mp.
    > --
    > Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
    > |http://www.par.univie.ac.at/solaris/pca/
    > Patch Check Advanced | Analyze, download and install patches for Sun
    > Solaris


    Hi Martin,

    yes I have rebooted several times. I think my fatal mistake was to
    install some patch with the '-nosave' option. The problem is that
    what's installed (shared lib wise) is identical to what came with the
    patch.

    thanks for the reply,
    Michael


  6. Re: Solaris 10 x86 : shared library mismatched symbols after patch 124923-03 Mar 2007

    miket7777@gmail.com writes:
    > For the Solaris 10_x86 machine, if I recall right, I installed the
    > latest recommended patch cluster as soon as I obtained the machine
    > back in April to bring it up to date. I have the habit of using '-
    > nosave' to avoid letting /var/sadm gets bloated. I have rebooted the
    > machine several times since then.


    That certainly limits the available options.

    > Is there any remedy besides reinstalling from media (which
    > incidentally didn't come with the machine) ? All files in the patch
    > match exactly what's installed on my machine so there should be
    > something possible to do to rectify the situation instead of
    > reinstalling.


    It's hard to tell what went wrong here based on the symptoms. I've
    patched a lot of machines, and I haven't seen what you're seeing, so I
    suspect that something went very wrong during the patch process. If
    you've done "nosave" (patchadd -d), you can't back out those patches,
    and if you don't have backups from before the patching or used an
    alternate boot environment for patching, I don't see any other way
    out.

    (On my own machines, I use Live Upgrade, and this is one of the many
    reasons. A failed upgrade or patch with LU is non-toxic -- just
    quickly switch back to the previous environment and start over.)

    --
    James Carlson, Solaris Networking
    Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677

+ Reply to Thread