Problem compiling root_v5.23.04 on MacOSX 10.5.6

I’m using MacOSX 10.5.6 (gcc version 4.0.1 (Apple Inc. build 5488)) to compile 5.23.04 and encountering problems with XROOTD. I’d like to compile XROOTD than to disable it. I could fix first problem using (savannah.cern.ch/bugs/?47644) but then the following comes up. Could you please let me know if this is a known issue?

tx/src/G__Netx.o -c net/netx/src/G__Netx.cxx
g++ -O2 -dynamiclib -single_module -undefined dynamic_lookup -install_name @rpath/libNetx.so -m64
-o lib/libNetx.so net/netx/src/TXNetFile.o net/netx/src/TXNetFileStager.o net/netx/src/TXNetSystem
.o net/netx/src/G__Netx.o -ldl -Lnet/xrootd/src/xrootd/lib -lXrdOuc -lXrdSys -Llib -lXrdClient
ld: library not found for -lXrdClient
collect2: ld returned 1 exit status
make: *** [lib/libNetx.so] Error 1
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

Dear Akira,

Yes, it is a known issue on Mac already fixed in trunk.
Please retry after saving the attached file as

  net/xrootd/src/xrootd/src/XrdSecgsi/GNUmakefile

(the name is different!)

Gerri
GNUmakefile.XrdSecgsi.txt (5.7 KB)

Thanks Gerri, but this doesn’t work :frowning:

Dear Akira,

Could you do the following:

make distclean-xrootd
make

and post the whole output you get on the screen?

Thanks,

Gerri

Just wanted to report that downloading the file as advised and then ‘make distclean-xrootd’ worked for me. Thought it would be nice to bring closure to the thread.
-Lee