help-octave
[Top][All Lists]
Advanced

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

Re: Problem using plot in MacOSX tiger


From: Daniel Oberhoff
Subject: Re: Problem using plot in MacOSX tiger
Date: Thu, 07 Sep 2006 18:42:24 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060812)

Joe Koski wrote:
> on 9/7/06 4:07 AM, Harbinson, Jeremy at address@hidden wrote:
>
>   
>> Hi,
>> I have installed Octave 2.1.73 on a MacBook running Tiger, and installed
>> Gnuplot and Aquaterm using Fink Commander, but when I try running the plot
>> command I get the message:
>>
>> octave:3> plot(cat,dog)
>> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>> warning: in /usr/local/share/octave/2.1.73/m/plot/__plt__.m near line 85,
>> column 2:
>> warning: connection to external plotter (pid = 10867) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> octave:4> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>>
>> warning: connection to external plotter (pid = 10868) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> warning: connection to external plotter (pid = 10892) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>>
>> Any suggestions? - I am completely new to the Mac so maybe I have done
>> something wrong...
>> all the best,
>> Jeremy Harbinson
>>
>>     
> Jeremy,
>
> On my G5 Mac, I have the following lines in a .bash_profile file in my home
> directory:
>
>   export GNUTERM=aqua
>   export DISPLAY=:0.0
>
> If that, doesn't fix the problem, I suspect you're mixing Fink and non-Fink
> applications, and you must really understand where all the files are and
> have the correct declarations in your .bash_profile to make that work.
>
> Joe
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>   
or check if libaquaterm.1.0.0.dylib can instead be found in /sw/lib. In
this case you can help out by:

sudo ln -s /sw/lib/libaquaterm.1.0.0.dylib /usr/local/lib/

gnu-stow can be used quite neatly to automate these kinda links, but it
does require some shell hackage (if not much).

Hmm, looking again: why is gnuplot in /usr/local/bin, doesn't fink
always go to /sw?
Do you have a gnuplot in /sw/bin? If so you might want to try deleting
(or renaming) the other gnuplot so that octave uses the right one:

sudo mv /usr/local/gnuplot /usr/local/gnuplot.out

Cheers

Daniel


reply via email to

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