[MacPorts] #40171: Port cannot install gnuplot
#40171: Port cannot install gnuplot ----------------------------+-------------------------------- Reporter: matthew20103@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ----------------------------+-------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/40171> MacPorts <http://www.macports.org/> Ports system for OS X
#40171: Port cannot install gnuplot -----------------------------+--------------------- Reporter: matthew20103@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | -----------------------------+--------------------- Changes (by cal@…): * cc: matthew20103@… (removed) * owner: macports-tickets@… => mojca@… * port: => gnuplot Old description:
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?
New description: 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? -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/40171#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40171: Port cannot install gnuplot -----------------------------+--------------------- Reporter: matthew20103@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | -----------------------------+--------------------- Comment (by matthew20103@…): Replying to [comment:2 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) }}} -- Ticket URL: <https://trac.macports.org/ticket/40171#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40171: Port cannot install gnuplot -----------------------------+--------------------- Reporter: matthew20103@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | -----------------------------+--------------------- Comment (by 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 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. -- Ticket URL: <https://trac.macports.org/ticket/40171#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40171: Port cannot install gnuplot -----------------------------+--------------------- Reporter: matthew20103@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | -----------------------------+--------------------- Comment (by matthew20103@…): Replying to [comment:4 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 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.
Thank you very much! The problem is solved! -- Ticket URL: <https://trac.macports.org/ticket/40171#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40171: Port cannot install gnuplot -----------------------------+--------------------- Reporter: matthew20103@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: gnuplot | -----------------------------+--------------------- Changes (by mojca@…): * status: new => closed * version: 2.2.0 => * resolution: => invalid Comment: No problem. -- Ticket URL: <https://trac.macports.org/ticket/40171#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts