#5858: Octave library linking problems
------------------------+---------------------------------------------------
Reporter: mhampton | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.0
Component: interfaces | Keywords: octave, library linking
------------------------+---------------------------------------------------
Email from sage-support describes the problem and Michael Abshoff's
comments about what needs to be done:
On Apr 22, 12:46 am, Ajay Rawat <[email protected]> wrote:
> Well i tried the command
> sage:octave_version()
> sage:3.0.0
> but when i tried octave_console
> it replied...................
> octave:
> /usr/local/sage-3.2.3-Ubuntu8.04LTS-64bit-
Intel-x86_64-Linux/local/lib/l\
> ibz.so.1: no version information available (required by
> /usr/lib/octave-3.0.0/liboctinterp.so)
The problem is that the libz shipped by Sage and the one used by the
system (and which was linked by Octave) do not play nicely together.
To work around this write a script called octave (I assume that is the
name of the octave start script/binary
#!/bin/sh
LD_LIBRARY_PATH=SAGE_ORIG_LD_LIBRARY_PATH; export LD_LIBRARY_PATH
exec octave "$@"
I didn't try this, so you might need to adjust something.
To fix this once and for all in sage we should use native execute -
would someone open a ticket since I am about to go offline for the
night :)
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5858>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---