Hi,
I'm obviously missing something obvious. We install root (4.01.04 on OS/X in this case) and then we build programs which we want to link against the root shared libraries. This works fine on Linux and Solaris.
I can run root from my Xterm prompt on MacOS/X. What I can't do though is link against the libraries. I get messages like below.
What I'm lost in as to why it wants to find libfreetype.dylib in /Users/rdm/root/lib/libfreetype.dylib. I'm sure that /Users/rdm/root/lib/libfreetype.dylib existed when root was built, but, I have a copy of libfreetype.dylib in /usr/X11R6/lib and I've included the -L option for it.
The other libraries are the same. libcrypto.0.9.7.dylib, for example, lives in /usr/lib.
This would seem to be a basic misunderstanding on my part related to MacOS/X, but, I can't seem to find out how to solve the problem.
Thanks very much in advance.
cheers
bruce
( make all_late_bind_int && touch make_ok.log ) 2>&1 | /usr/bin/tee make_failed.log ;
make ISDCrootlib BLDOPT=rd
make[2]: Nothing to be done for `ISDCrootlib'.
make isdcroot BLDOPT=rd
g++ -Df2cFortran -g -D_REENTRANT -I/Users/edoneel/osa/osa_5.0/root/include -DHAVE_CERN_ROOT -DCOMPILING_CINT_FILES -I/Users/edoneel/osa/osa_5.0/root/cint -I. -I.. -I../include -I./installed_locally/include -I/Users/edoneel/osa/osa_5.0/include -I/Users/edoneel/osa/osa_5.0/root/include/root -I/Users/edoneel/osa/osa_5.0/include/root -I/usr/X11R6/include -D_UNKNOWN_ARCHITECTURE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DSIZEOF_VOID_P=4 -DSTDC_HEADERS=1 -DHAVE_PTHREAD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRCHR=1 -DHAVE_MEMCPY=1 -DHAVE_GMTIME_R=1 -DHAVE_STRTOLL=1 -DHAVE_LLABS=1 -DWORDS_BIGENDIAN=1 -DHAVE_READLINE_LIBS=1 -DHAVE_CERN_ROOT=1 -D_REENTRANT -I/Users/edoneel/osa/osa_5.0/root/include -L/
usr/X11R6/lib -o isdcroot ISDCroot.o ISDCrootCint.o \
-L/usr/X11R6/lib -L. -L.. -L../lib -L./installed_locally/lib -L/Users/edoneel/osa/osa_5.0/lib -L/Users/edoneel/osa/osa_5.0/root/lib -lISDCroot -ldal3aux -ldal3cat -ldal3hk -ldal3ibis -ldal3jemx -ldal3omc -ldal3spi -ldal3gen -lcommon -ldal -lril -lpil -lcfitsio -lsla_c -lwcs -L/Users/edoneel/osa/osa_5.0/root/lib -Wl,-u,_G__cpp_setupG__Hist -Wl,-u,_G__cpp_setupG__Graf1 -Wl,-u,_G__cpp_setupG__G3D -Wl,-u,_G__cpp_setupG__GPad -Wl,-u,_G__cpp_setupG__Tree -Wl,-u,_G__cpp_setupG__Rint -Wl,-u,_G__cpp_setupG__PostScript -Wl,-u,_G__cpp_setupG__Matrix -Wl,-u,_G__cpp_setupG__Physics -Wl,-u,_G__cpp_setupG__Gui1 -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lfreetype -lGui -lpthread -lm -ldl -lreadline -ltermcap
ld: warning -L: directory name (../lib) does not exist ld: warning -L: directory name (./installed_locally/lib) does not exist ld: warning can't open dynamic library: /sw/lib/libssl.0.9.7.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /sw/lib/libcrypto.0.9.7.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /Users/rdm/root/lib/libfreetype.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols:
-- "We didn't just track down that bug, we left evidence of its extermination as a warning to other bugs" - Dan Lyke - flutterby Bruce O'Neel phone: +41 22 379 21 57 INTEGRAL Science Data Centre +41 22 379 21 00 (switchb.) Chemin d'Ecogia 16 fax: +41 22 379 21 35 CH-1290 VERSOIX e-mail: Bruce.Oneel_at_obs.unige.ch Switzerland WWW: http://isdc.unige.ch/Received on Wed May 11 2005 - 17:28:01 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET