I tried to compile Root -6.09.2 from the source.
Typing ./configure no error.
Typing make -j4 no error as it builds until 100%.
But after it finishes building, it generates error message:
==> lib/libmultisetDict.so done
==> lib/libvalarrayDict.so done
g++ -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o bin/proofserv.exe main/src/pmain.o
-Llib -lCore -lm -ldl -pthread -rdynamic
g++ -shared -Wl,-soname,libRint.so -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o lib/libRint.so core/rint/src/TRint.o core/rint/src/TTabCom.o core/rint/src/G__Rint.o -Llib -lCore -ldl
==> lib/libNew.so done
g++ -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o bin/roots.exe main/src/roots.o
-Llib -lCore -lm -ldl -pthread -rdynamic
==> lib/libRint.so done
g++ -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o bin/rootnb.exe main/src/nbmain.o
-Llib -lCore -lm -ldl -pthread -rdynamic
==> lib/libThread.so done
g++ -shared -Wl,-soname,libRIO.so -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o lib/libRIO.so io/io/src/TArchiveFile.o io/io/src/TBufferFile.o io/io/src/TBufferJSON.o io/io/src/TCollectionProxyFactory.o io/io/src/TContainerConverters.o io/io/src/TDirectoryFile.o io/io/src/TEmulatedCollectionProxy.o io/io/src/TEmulatedMapProxy.o io/io/src/TFileCacheRead.o io/io/src/TFileCacheWrite.o io/io/src/TFile.o io/io/src/TFileMerger.o io/io/src/TFilePrefetch.o io/io/src/TFPBlock.o io/io/src/TFree.o io/io/src/TGenCollectionProxy.o io/io/src/TGenCollectionStreamer.o io/io/src/TKey.o io/io/src/TKeyMapFile.o io/io/src/TLockFile.o io/io/src/TMakeProject.o io/io/src/TMapFile.o io/io/src/TMemFile.o io/io/src/TStreamerInfoActions.o io/io/src/TStreamerInfo.o io/io/src/TStreamerInfoReadBuffer.o io/io/src/TStreamerInfoWriteBuffer.o io/io/src/TZIPFile.o io/io/src/G__RIO.o io/rootpcm/src/rootclingIO.o -Llib -lCore -ldl -Llib -lThread
/usr/bin/ld: warning: libpcre.so.1, needed by lib/libCore.so, not found (try using -rpath or -rpath-/link)
usrlib//libCore.sobin:/ ldundefined: reference/warning :usrto/ binlibpcre.so.1/,pcre_freeld ':needed libwarningby/: libCore.so liblibpcre.so.1:/, libCore.so undefined,needed referencenot tofound (try using -rpath or
-rpath-link)
lib/bylibCore.so :lib/libCore.so, not found (try using -undefined reference rpathto orpcre_free-'rpath -liblink/)libCore.so :lib /undefinedlibCore.so :reference undefinedto reference
pcre_execto’
libpcre_free/'libCore.so :lib /undefinedlibCore.so :reference undefinedto reference
pcre_compileto’
libpcre_exec/'libCore.so :lib /undefinedlibCore.so :reference undefinedto reference
pcre_studyto’
pcre_compile' lib/libCore.so: undefined reference to
pcre_studypcre_exec’
'
lib/libCore.so: undefined reference to pcre_compile' lib/libCore.so: undefined reference to
pcre_study’
collect2: error: ld returned 1 exit status
make: *** [bin/rootnb.exe] Error 1
make: collect2: error: ld returned 1 exit status
*** Waiting for unfinished jobs…
make: *** [bin/roots.exe] Error 1
collect2: error: ld returned 1 exit status
make: *** [bin/proofserv.exe] Error 1
==> lib/libRIO.so done
I just copy the last part of the verbose since the texts are so long from the beginning.
Not sure what’s going on here?