Re: Problem with library filenames on FreeBSD 5.4

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Tue, 03 May 2005 15:55:40 +0200


Hi Pierre-Luc,

  I've fixed this in the ROOT cvs head.

Pierre-Luc Drouin wrote:
> When I try to compile a new cvs version of Root on FreeBSD 5.4, ".." is
> append to the shared library filenames in the compilation process. I've
> looked in
> the makefiles and I've not been able to figure out where this ".." come
> from. SOEXT is "so" as for most OS. Here is an example of failure in the
> build process:
>
> gcc -O -pipe -W -Wall -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT
> -DG__REDIRECTIO -DG__OSFDLL -Iinclude -o cint/src/loadfile.o -c
> cint/src/loadfile.c
> g++ -shared -Wl,-x -Wl,-soname,libCint.so.. -O -o lib/libCint.so..
> cint/src/longif3.o cint/src/oldlink.o cint/src/gcc3strm.o
> cint/src/Typedf.o cint/src/Type.o cint/src/Token.o cint/src/MethodAr.o
> cint/src/Method.o cint/src/DataMbr.o cint/src/Class.o cint/src/CallFunc.o
> cint/src/Apiif.o cint/src/BaseCls.o cint/src/Api.o cint/src/var.o
> cint/src/value.o cint/src/val2a.o cint/src/typedef.o cint/src/tmplt.o
> cint/src/stub.o cint/src/struct.o cint/src/malloc.o cint/src/stdstrct.o
> cint/src/sizeof.o cint/src/shl.o cint/src/scrupto.o cint/src/quote.o
> cint/src/pragma.o cint/src/pcode.o cint/src/pause.o cint/src/parse.o
> cint/src/decl.o cint/src/opr.o cint/src/newlink.o cint/src/new.o
> cint/src/macro.o cint/src/loadfile.o cint/src/intrpt.o cint/src/input.o
> cint/src/init.o cint/main/G__setup.o cint/src/inherit.o cint/src/ifunc.o
> cint/src/gcoll.o cint/src/g__cfunc.o cint/src/func.o cint/src/memtest.o
> cint/src/cast.o cint/src/fread.o cint/src/expr.o cint/src/debug.o
> cint/src/global1.o cint/src/end.o cint/src/dump.o cint/src/error.o
> cint/src/global2.o cint/src/disp.o cint/src/auxu.o
> ==> lib/libCint.so done
> g++ -O -o bin/cint cint/main/cppmain.o \
> -Llib -lCint -lm -ltermcap -lstdc++
> /usr/bin/ld: cannot find -lCint
> gmake: *** [bin/cint] Error 1

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Tue May 03 2005 - 15:55:47 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET