'SUNW_1.1.1' not found

  • Follow


When launching MATLAB on Solaris 8,  I get the following error:
ld.so.1: $HOME/matlab_2006b/bin/sol2/MATLAB: fatal: libm.so.1:
version`SUNW_1.1.1' not found (required by file
$HOME/matlab_2006b/bin/sol2/libut.so)

I have updated to the necessary patch level, as shown by the showrev output 
below. Originally there was a libm.so.1 in the matlab/bin/sol2 directory. 
Renaming the file gives an illegal instruction error. We removed that file 
and get the SUNW_1.1.1 not found again. Ldd shows that libut.so is pointing 
to the correct library now.


Any ideas?

Thanks in advance,
Nick

Below is the output of some relevant commands.

# showrev -p | grep 111721
Patch: 111721-04 Obsoletes:  Requires:  Incompatibles:  Packages:
SUNWlibms, SUNWlmsx, SUNWlibm

$HOME/matlab_2006b/bin/sol2> ldd -v libut.so

   find object=libdl.so.1; required by ./libut.so
        libdl.so.1 =>    /usr/lib/libdl.so.1
   find version=libdl.so.1
        libdl.so.1 (SUNW_0.8) =>         /usr/lib/libdl.so.1

   find object=libm.so.1; required by ./libut.so
        libm.so.1 =>     /usr/lib/libm.so.1
   find version=libm.so.1
        libm.so.1 (SUNW_1.1.1) =>        /usr/lib/libm.so.1
<snip>

# pvs -v /usr/lib/libm.so.1
        libc.so.1 (SISCD_2.3);
        libm.so.1;
        SUNW_1.1.1:             {SUNW_1.1};
        SUNW_1.1;
        SUNWprivate_1.2:        {SUNWprivate_1.1};
        SUNWprivate_1.1; 


0
Reply Nick 10/20/2006 8:59:40 PM

"Nick Bonfatti" <nbonfatt@mathworks.com> writes:
> When launching MATLAB on Solaris 8,  I get the following error:
> ld.so.1: $HOME/matlab_2006b/bin/sol2/MATLAB: fatal: libm.so.1:
> version`SUNW_1.1.1' not found (required by file
> $HOME/matlab_2006b/bin/sol2/libut.so)
> 
> I have updated to the necessary patch level, as shown by the showrev output 
> below. Originally there was a libm.so.1 in the matlab/bin/sol2 directory. 
> Renaming the file gives an illegal instruction error. We removed that file 
> and get the SUNW_1.1.1 not found again. Ldd shows that libut.so is pointing 
> to the correct library now.

Does the MATLAB launching script play games with the linker?  It
sounds like it may.

Have you asked the MATLAB people about this?

What you're describing doesn't sound healthy at all.  But given the
symptoms, I'd be pretty tempted to copy /lib/libm.so.1 from the
running system into that matlab/bin/sol2 directory.  (ick!)

-- 
James Carlson, KISS Network                    <james.d.carlson@sun.com>
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
0
Reply James 10/20/2006 11:33:40 PM


Nick Bonfatti wrote:
> When launching MATLAB on Solaris 8,  I get the following error:
> ld.so.1: $HOME/matlab_2006b/bin/sol2/MATLAB: fatal: libm.so.1:
> version`SUNW_1.1.1' not found (required by file
> $HOME/matlab_2006b/bin/sol2/libut.so)
> 
> I have updated to the necessary patch level, as shown by the showrev output 
> below. Originally there was a libm.so.1 in the matlab/bin/sol2 directory. 
> Renaming the file gives an illegal instruction error. We removed that file 
> and get the SUNW_1.1.1 not found again. Ldd shows that libut.so is pointing 
> to the correct library now.

search for other libm.so.1 in all the matlab directories.
the matlab launcher script sets a long list of LD_LIBRARY_PATH, there 
might be a libm.so.1 hidden in there.

BIN_DIRS=$MATLAB/bin/$ARCH/$VARIANT:$MATLAB/bin/$ARCH
LDPATH_MATLAB=$MATLAB/sys/os/$ARCH:$BIN_DIRS:$MATLAB/extern/lib/$ARCH
LDPATH_MATLAB=$MATLAB/sys/opengl/lib/$ARCH:$LDPATH_MATLAB
OSG_LD_LIBRARY_PATH=$MATLAB/sys/openscenegraph/lib/$ARCH
LDPATH_MATLAB=$LDPATH_MATLAB:$JAVA_VM_PATH
LD_LIBRARY_PATH=$LDPATH_MATLAB:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$LDPATH_PREFIX:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LDPATH_SUFFIX
LD_LIBRARY_PATH=/usr/lib/lwp:$LD_LIBRARY_PATH
0
Reply Oscar 10/21/2006 2:30:41 PM

2 Replies
705 Views

(page loaded in 0.086 seconds)

Similiar Articles:













7/29/2012 4:51:27 PM


Reply: