Opened 15 years ago

Closed 15 years ago

#21176 closed defect (fixed)

calc-2.12.3.3 library search path error

Reported by: chbrosso@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: calc

Description

On building calc, linking fails because library search path is /opt/local/local/lib (see log).

XCode 3.1.3 OS X 10.5.8

--->  Computing dependencies for calc
--->  Fetching calc
--->  Verifying checksum(s) for calc
--->  Extracting calc
--->  Applying patches to calc
--->  Configuring calc
--->  Building calc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_calc/work/calc-2.12.3.3" && /usr/bin/make all " returned error 2
Command output: MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o qio.o qio.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o qmath.o qmath.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o qmod.o qmod.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o qtrans.o qtrans.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o quickhash.o quickhash.c
forming no_implicit.arg
no_implicit.arg formed
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3 `cat no_implicit.arg` -c seed.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o sha1.o sha1.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o size.o size.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o str.o str.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o symbol.o symbol.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o token.o token.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o value.o value.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o version.o version.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zfunc.o zfunc.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zio.o zio.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zmath.o zmath.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zmod.o zmod.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zmul.o zmul.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zprime.o zprime.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zrand.o zrand.c
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -O3 -g3   -c -o zrandom.o zrandom.c
rm -f ver_calc
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0 -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment   -fPIC -DCALC_VER  version.c -o ver_calc
MACOSX_DEPLOYMENT_TARGET=10.5 /usr/bin/gcc-4.0  -single_module -undefined dynamic_lookup -dynamiclib -install_name /opt/local/lib/libcalc.2.12.3.3.dylib addop.o assocfunc.o blkcpy.o block.o byteswap.o calcerr.o codegen.o comfunc.o commath.o config.o const.o custom.o file.o func.o hash.o help.o hist.o input.o jump.o label.o lib_calc.o lib_util.o listfunc.o matfunc.o math_error.o obj.o opcodes.o pix.o poly.o prime.o qfunc.o qio.o qmath.o qmod.o qtrans.o quickhash.o seed.o sha1.o size.o str.o symbol.o token.o value.o version.o zfunc.o zio.o zmath.o zmod.o zmul.o zprime.o zrand.o zrandom.o \
	      -L/opt/local/local/lib -lreadline -lhistory -lncurses -o libcalc.2.12.3.3.dylib
ld: library not found for -lhistory
collect2: ld returned 1 exit status
make: *** [libcalc.2.12.3.3.dylib] Error 1

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 15 years ago by chbrosso@…

Cc: chbrosso@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Cc: chbrosso@… removed
Version: 1.8.0

comment:3 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r57222 (and updated version to 2.12.4.0).

Note: See TracTickets for help on using tickets.