[Ecls-list] Problem with LD_LIBRARY_PATH during build.

Pascal J. Bourguignon pjb at informatimago.com
Thu Jun 3 20:25:58 UTC 2010


git clone ... ; cd ecl ; ./configure --prefix=$prefix \
    --enable-shared \
    --enable-rpath \
    --enable-threads=yes \
    --enable-opcode8 \
    --enable-unicode \
    --enable-longdouble \
&& make 

breaks with:



;;; Note:
;;;   Invoking external command:
;;;   ar cr "liblsp.a" "/tmp/eclinit7FsNJi.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/export.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/defmacro.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/helpfile.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/evalmacros.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/autoload.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/setf.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/predlib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/seq.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/arraylib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/assert.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/defstruct.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/iolib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/listlib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/mislib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/numlib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/packlib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/seqlib.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/trace.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/loop2.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/format.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/defpackage.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/ffi.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/mp.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/config.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/module.o" "/home/pjb/src/planner-ecl/ecl/build/lsp/cmdline.o" "/home/pjb/src/planner-ecl/ecl/build/clos/kernel.o" "/home/pjb/src/planner-ecl/ecl/build/clos/method.o" "/home/pjb/src/planner-ecl/ecl/build/clos/slot.o" "/home/pjb/src/planner-ecl/ecl/build/clos/combin.o" "/home/pjb/src/planner-ecl/ecl/build/clos/boot.o" "/home/pjb/src/planner-ecl/ecl/build/clos/defclass.o" "/home/pjb/src/planner-ecl/ecl/build/clos/standard.o" "/home/pjb/src/planner-ecl/ecl/build/clos/builtin.o" "/home/pjb/src/planner-ecl/ecl/build/clos/change.o" "/home/pjb/src/planner-ecl/ecl/build/clos/stdmethod.o" "/home/pjb/src/planner-ecl/ecl/build/clos/generic.o" "/home/pjb/src/planner-ecl/ecl/build/clos/fixup.o" "/home/pjb/src/planner-ecl/ecl/build/clos/print.o" "/home/pjb/src/planner-ecl/ecl/build/clos/streams.o" "/home/pjb/src/planner-ecl/ecl/build/clos/pprint.o" "/home/pjb/src/planner-ecl/ecl/build/clos/conditions.o" "/home/pjb/src/planner-ecl/ecl/build/clos/describe.o" "/home/pjb/src/planner-ecl/ecl/build/clos/inspect.o" "/home/pjb/src/planner-ecl/ecl/build/clos/top.o" "/home/pjb/src/planner-ecl/ecl/build/clos/process.o" 
;;; 
;;; Note:
;;;   Invoking external command:
;;;   ranlib "liblsp.a"
;;; 
NIL 
Unable to find library directory

No restarts available.

Broken at TPL. In: #<process TOP-LEVEL 00000000006f2f60>.
 File: #P"/home/pjb/src/planner-ecl/ecl/src/lsp/top.lsp" (Position #20393)
SI>> 


I have to add the build directory to  LD_LIBRARY_PATH  to have it work.

export LD_LIBRARY_PATH="$HOME/src/planner-ecl/ecl/build:$LD_LIBRARY_PATH"

Perhaps it could be done automatically?


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/





More information about the ecl-devel mailing list