Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #348

Re: Question about gnuplot 4.4.3 and version 4.5

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From geep <geep@boursomail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Question about gnuplot 4.4.3 and version 4.5
Date Tue, 31 May 2011 20:54:57 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 57
Message-ID <is3kj1$iks$1@speranza.aioe.org> (permalink)
References <f7278561-bbe1-4d00-9c9b-1363f4279388@28g2000yqu.googlegroups.com> <irufba$q2n$1@speranza.aioe.org> <f3e88e3e-c76f-4d19-8e8f-76473689c009@o10g2000prn.googlegroups.com>
NNTP-Posting-Host gHhNvaGUF5At9J6VuitmMg.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Pan/0.134 (Wait for Me; GIT cb32159 master)
X-Notice Filtered by postfilter v. 0.8.2
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:348

Show key headers only | View raw


On Mon, 30 May 2011 13:27:35 -0700, G. wrote:

> Dear Peter,
> I have found your entry. It worked until make. Make stopped with
> 
> 
> dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
>   Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib Reason:
>   image not found
> make[2]: *** [gnuplot.gih] Trace/BPT trap make[1]: *** [all-recursive]
> Error 1
> make: *** [all] Error 2
> 
> What could I do now, please?
> Kind regards
> G.

Hi G.,
Sorry to hear about the problem. I'm afraid I can't tell you exactly how 
to fix it - I only have Linux. All I can do is ask some questions which 
might lead you in the right direction to a solution.

The nature of the problem is that libpangocairo is missing the libpng 1.2 
library. This I find a bit strange. Presumably you have gnuplot 4.4.3 
working - and it probably already uses libpng and libpango.
If so, which versions?
libpng 1.2 is quite old now. 
Installed gnuplot 4.4.3 yourself? Which libraries does installed gnuplot 
use? Do you have a different version of libpng already installed? Did you 
install libpangocairo yourself? Is it only used for gnuplot?

On Linux you can see which libraries are being used using ldd
I believe that the Mac equivalent is otool -L
ldd `which gnuplot` | grep png
ldd `which gnuplot` | grep pango
or - knowing where gnuplot is installed - on my Linux in /usr/bin/gnuplot
ldd /usr/bin/gnuplot | grep png
ldd /usr/bin/gnuplot | grep pango
I see these png and pango libraries installed and used:
ldd `which gnuplot` | grep png
        libpng14.so.14 => /usr/lib64/libpng14.so.14 
ldd `which gnuplot` | grep pang
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 

Maybe someone else here knows more about this, or post on a Mac forum?
Googling using building gnuplot on mac osx returns lots of hits.
This one looks promising:
http://tinyurl.com/3ze6g4h
I did see somebody else with a similar missing library problem:
https://trac.macports.org/wiki/ProblemHotlist
but they are using something called MacPorts, about which I know nothing.

Sorry can't be more helpful.
Cheers,
Peter

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Question about gnuplot 4.4.3 and version 4.5 "G." <bestenborstel@gmail.com> - 2011-05-29 10:15 -0700
  Re: Question about gnuplot 4.4.3 and version 4.5 geep <geep@boursomail.com> - 2011-05-29 21:54 +0000
    Re: Question about gnuplot 4.4.3 and version 4.5 "G." <bestenborstel@gmail.com> - 2011-05-30 13:27 -0700
      Re: Question about gnuplot 4.4.3 and version 4.5 geep <geep@boursomail.com> - 2011-05-31 20:54 +0000
        Re: Question about gnuplot 4.4.3 and version 4.5 "G." <bestenborstel@gmail.com> - 2011-06-02 07:36 -0700
          Re: Question about gnuplot 4.4.3 and version 4.5 "G." <bestenborstel@gmail.com> - 2011-06-02 08:49 -0700
            Re: Question about gnuplot 4.4.3 and version 4.5 "G." <bestenborstel@gmail.com> - 2011-06-02 08:56 -0700

csiph-web