Opened 11 years ago
Closed 11 years ago
#40171 closed defect (invalid)
Port cannot install gnuplot
Reported by: | matthew20103@… | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnuplot |
Description (last modified by neverpanic (Clemens Lang))
When I was trying to install the gnuplot via macports, i.e.
sudo port clean gnuplot sudo port install gnuplot
I got the following messages:
Error: org.macports.build for port gnuplot returned: command execution failed Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnuplot failed
After inspecting the main.log file, I found the following error message:
:info:build dyld: Library not loaded: /opt/local/lib/libpng15.15.dylib :info:build Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib :info:build Reason: Incompatible library version: libpangocairo-1.0.0.dylib requires version 31.0.0 or later, but libpng15.15.dylib provides version 30.0.0
How can I solve this problem?
Attachments (1)
Change History (7)
Changed 11 years ago by matthew20103@…
comment:2 follow-up: 3 Changed 11 years ago by neverpanic (Clemens Lang)
Cc: | matthew20103@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mojca@… |
Port: | gnuplot added |
Please remember to set the port field and cc the maintainer. You don't need to cc yourself. Please try to use WikiFormatting when posting in trac.
Please provide the output of otool -L /opt/local/lib/libpng15.15.dylib
on your system.
comment:3 Changed 11 years ago by matthew20103@…
Replying to cal@…:
Please remember to set the port field and cc the maintainer. You don't need to cc yourself. Please try to use WikiFormatting when posting in trac.
Please provide the output of
otool -L /opt/local/lib/libpng15.15.dylib
on your system.
I am sorry, its my first post here. Here is the output of 'otool -L /opt/local/lib/libpng15.15.dylib'
otool -L /opt/local/lib/libpng15.15.dylib /opt/local/lib/libpng15.15.dylib: /opt/local/lib/libpng15.15.dylib (compatibility version 30.0.0, current version 30.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.7) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
comment:4 follow-up: 5 Changed 11 years ago by mojca (Mojca Miklavec)
Did you try making sure that you had the latest version of your ports installed?
sudo port clean gnuplot sudo port selfupdate sudo port upgrade outdated sudo port install gnuplot
To me this looks as if pango
was fetched from the server where it was linked against a newer version of libpng
than you have installed on the system or something along those lines. The compatibility version on my computer in 33, even though I'm not exactly sure what that number means.
Most probably this is not a problem related to gnuplot
per-se, the problem is only manifested when you install a "random" port depending on problematic libraries.
comment:5 Changed 11 years ago by matthew20103@…
Replying to mojca@…:
Did you try making sure that you had the latest version of your ports installed?
sudo port clean gnuplot sudo port selfupdate sudo port upgrade outdated sudo port install gnuplotTo me this looks as if
pango
was fetched from the server where it was linked against a newer version oflibpng
than you have installed on the system or something along those lines. The compatibility version on my computer in 33, even though I'm not exactly sure what that number means.Most probably this is not a problem related to
gnuplot
per-se, the problem is only manifested when you install a "random" port depending on problematic libraries.
Thank you very much! The problem is solved!
comment:6 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 2.2.0 |
No problem.
Here attached the main.log file, please have a look.