After compiling and installing openssl-1.0.0i on Solaris 10 getting 32 bit 
(instead of 64 bit) class for libgcc_s.so.1 (see below).

If I export below, no issues. But it is just a workaround. 
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/sfw/lib/64

Sounds to me I need to specify this somehow in ./Configure or somethere else. 
Can someone suggest permanent solution?



$ cd /usr/local/openssl-1.0.0i/bin

$ ldd openssl

       
libssl.so.1.0.0 =>      
/usr/local/openssl-1.0.0i/lib/libssl.so.1.0.0

       
libcrypto.so.1.0.0 =>   
/usr/local/openssl-1.0.0i/lib/libcrypto.so.1.0.0

       
libsocket.so.1 =>       
/lib/64/libsocket.so.1

       
libnsl.so.1 =>   /lib/64/libnsl.so.1

       
libdl.so.1 =>    /lib/64/libdl.so.1

       
libc.so.1 =>     /lib/64/libc.so.1

       
libgcc_s.so.1 =>        
/usr/local/lib/libgcc_s.so.1  - wrong ELF class: ELFCLASS32

       
libgcc_s.so.1 =>        
/usr/local/lib/libgcc_s.so.1  - wrong ELF class: ELFCLASS32

       
libmp.so.2 =>    /lib/64/libmp.so.2

       
libmd.so.1 =>    /lib/64/libmd.so.1

       
libscf.so.1 =>   /lib/64/libscf.so.1

       
libdoor.so.1 =>  /lib/64/libdoor.so.1

       
libuutil.so.1 =>        
/lib/64/libuutil.so.1

       
libgen.so.1 =>   /lib/64/libgen.so.1

       
libm.so.2 =>     /lib/64/libm.so.2

       
/platform/SUNW,Sun-Blade-T6320/lib/sparcv9/libc_psr.so.1

       
/platform/SUNW,Sun-Blade-T6320/lib/sparcv9/libmd_psr.so.1


# pkginfo |grep gcc
application SMClgcc346                       libgcc
system      SUNWgcc                          gcc - The GNU C compiler
system      SUNWgccruntime                   GCC Runtime libraries

# pkginfo -l SUNWgcc
   PKGINST:  SUNWgcc
      NAME:  gcc - The GNU C compiler
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.08.05.16
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GNU C - The GNU C compiler 3.4.3
    PSTAMP:  sfw10-patch20080723132541
  INSTDATE:  Sep 09 2009 13:28
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      296 installed pathnames
                   6 shared pathnames
                   5 linked files
                  25 directories
                  33 executables
              104105 blocks used (approx)

# pkginfo -l SUNWgccruntime
   PKGINST:  SUNWgccruntime
      NAME:  GCC Runtime libraries
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.08.05.16
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GCC Runtime - Shared libraries used by gcc and other gnu components
    PSTAMP:  sfw10-patch20080723132529
  INSTDATE:  Sep 09 2009 13:22
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       26 installed pathnames
                   4 shared pathnames
                   4 directories
                  14 executables
               55504 blocks used (approx)



                                          

Reply via email to