[bug-notifications] [mc 0005086]: ld.so.1: mc: fatal: relocation error: file /opt/csw/bin/mc: symbol g_option_context_new: referenced symbol not found

Mantis Bug Tracker noreply at opencsw.org
Thu Jul 4 10:46:07 CEST 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5086 
====================================================================== 
Reported By:                blindpassenger
Assigned To:                dam
====================================================================== 
Project:                    mc
Issue ID:                   5086
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2013-07-03 15:35 CEST
Last Modified:              2013-07-04 10:46 CEST
====================================================================== 
Summary:                    ld.so.1: mc: fatal: relocation error: file
/opt/csw/bin/mc: symbol g_option_context_new: referenced symbol not found
Description: 
mc doesn't start up and shows the following error message:

# mc
ld.so.1: mc: fatal: relocation error: file /opt/csw/bin/mc: symbol
g_option_context_new: referenced symbol not found
Killed

This is what ldd shows:

# ldd /opt/csw/bin/mc
        libslang.so.2 =>         /opt/csw/lib/libslang.so.2
        libssh2.so.1 =>  /opt/csw/lib/libssh2.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libpthread.so.1 =>       /lib/libpthread.so.1
        libthread.so.1 =>        /lib/libthread.so.1
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libintl.so.8 =>  /opt/csw/lib/libintl.so.8
        libnsl.so.1 =>   /lib/libnsl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.1 =>     /lib/libm.so.1
        libssl.so.1.0.0 =>       /opt/csw/lib/libssl.so.1.0.0
        libcrypto.so.1.0.0 =>    /opt/csw/lib/libcrypto.so.1.0.0
        libz.so.1 =>     /usr/lib/libz.so.1
        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Netra-T12/lib/libc_psr.so.1
        /platform/SUNW,Netra-T12/lib/libmd_psr.so.1
====================================================================== 

---------------------------------------------------------------------- 
 (0010466) dam (administrator) - 2013-07-04 10:46
 https://www.opencsw.org/mantis/view.php?id=5086#c10466 
---------------------------------------------------------------------- 
There we have it, the ldd should look like this:


dam at unstable10s [unstable10s]:/home/dam > ldd /opt/csw/bin/mc              
          
        libslang.so.2 =>         /opt/csw/lib/sparcv8/libslang.so.2
        libssh2.so.1 =>  /opt/csw/lib/sparcv8/libssh2.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libgmodule-2.0.so.0 =>   /opt/csw/lib/sparcv8/libgmodule-2.0.so.0
        libpthread.so.1 =>       /lib/libpthread.so.1
        libthread.so.1 =>        /lib/libthread.so.1
        libglib-2.0.so.0 =>      /opt/csw/lib/sparcv8/libglib-2.0.so.0
        libintl.so.8 =>  /opt/csw/lib/sparcv8/libintl.so.8
        libnsl.so.1 =>   /lib/libnsl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.1 =>     /lib/libm.so.1
        libssl.so.1.0.0 =>      
/opt/csw/lib/sparcv8plus+vis/libssl.so.1.0.0
        libcrypto.so.1.0.0 =>   
/opt/csw/lib/sparcv8plus+vis/libcrypto.so.1.0.0
        libz.so.1 =>     /opt/csw/lib/sparcv8plus+vis/libz.so.1
        libiconv.so.2 =>         /opt/csw/lib/sparcv8/libiconv.so.2
        libpcre.so.1 =>  /opt/csw/lib/sparcv8/libpcre.so.1
        librt.so.1 =>    /lib/librt.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
        /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1

Please note that you are using the glib from /usr/lib instead of
/opt/csw/lib.

Do you have CSWlibglib2-0-0 and CSWlibgmodule2-0-0 installed as noted in
the package dependencies?



More information about the bug-notifications mailing list