[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run-octave works fine but 'make install' installs older version

From: Judd Storrs
Subject: Re: run-octave works fine but 'make install' installs older version
Date: Wed, 11 Aug 2010 12:11:07 -0400

On Wed, Aug 11, 2010 at 11:57 AM, Tony Lee <address@hidden> wrote:
$ ldd /data/workspace/tools/octave3.2.4/bin/octave-3.2.4 => /usr/lib64/octave-2.9.9/ (0x0000003c95c00000) => /usr/lib64/octave-2.9.9/ (0x0000003c94800000) => /usr/lib64/octave-2.9.9/ (0x0000003c93400000)


This is sort of strange. I'm not very good at linker games, but this looks like a linker problem. I'm surprised linking to the old libraries would work (unresolved symbols etc). You said that ./run-octave in the build directory works as expected so clearly, octave was built with the correct libraries. I think ./run-octave is a script that sets LD_LIBRARY_PATH to get the linker to use the compiled but not installed libraries. You could try maybe try setting the LD_LIBRARY_PATH environment variable to the directory inside /data/workspace/tools/octave3.2.4/ that has, etc and see if the ldd output picks those versions and then try to run octave-3.2.4 and see if it gets it right. It's not a permanent solution.  I'm not sure why 'make install' would get the linking wrong. I haven't seen that before. You're on redhat?  FWIW, the development version/snapshots now use libtool.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]