Opened 13 years ago

Closed 12 years ago

#29015 closed defect (worksforme)

gnuplot library not found for -lpng12

Reported by: kayousterhout@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc: ryandesign (Ryan Carsten Schmidt)
Port: gnuplot

Description

gnuplot fails to install on OS X 10.5.8

Running "sudo port selfupdate" followed by "sudo port upgrade outdated" did not fix the problem.

Errors:

$ sudo port install gnuplot
--->  Computing dependencies for gnuplot
--->  Fetching gnuplot
--->  Verifying checksum(s) for gnuplot
--->  Extracting gnuplot
--->  Applying patches to gnuplot
--->  Configuring gnuplot
--->  Building gnuplot
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gnuplot is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/main.log
Error: Status 1 encountered during processing.

Log file (abbreviated):

:info:build /usr/bin/g++-4.0  -pipe -O2 -arch i386  -L/opt/local/lib -arch i386 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o gnuplot alloc.o axis.o binary.o breaders.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o tabulate.o term.o time.o unset.o util.o util3d.o variable.o version.o   -lreadline  -lncurses  -lz -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -liconv -ljpeg -lpdf   -laquaterm  -framework Foundation
:info:build ld: library not found for -lpng12
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [gnuplot] Error 1
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/work/gnuplot-4.4.3" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gnuplot): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for gnuplot is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/main.log

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: png added

Something on your system still thinks it should be using libpng 1.2, when it has in fact been updated to version 1.4 some time ago.

Does "port outdated" still show anything outdated? If so, upgrade it.

If not, you'll need to manually locate what is still looking for libpng 1.2, possibly with a brute-force search through /opt/local/lib and/or /opt/local/bin.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response, can't reproduce; closing.

Note: See TracTickets for help on using tickets.