# Problems after moving to Catalina

**URL:** <https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710>\
**Category:** ROOT\
**Created:** [November 6, 2019, 11:36am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710 "2019-11-06T11:36:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deckard](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/deckard/32/13787_2.png) [@Deckard](https://root-forum.cern.ch/u/Deckard)\
**Post date:** [November 6, 2019, 11:36am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/1 "2019-11-06T11:36:42Z")

</div>

Hi, I’m having some troubles after moving to Catalina. If I compile my old macros (v6.16.00) I get this:

```auto
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libAudioToolboxUtility.tbd for architecture x86_64

clang: **error:** linker command failed with exit code 1 (use -v to see invocation)

Error in <ACLiC>: Compilation failed!

```

The usual xcode -select --install doesn’t help. Also a clever reading of previous posts here didn’t work. All right, I had already in mind to rebuild root, activating more options.

If I try with v6.18.04, I have some problems already after cmake:

```auto
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Failed

```

Build stops here:

```auto
[76%] Linking CXX shared library ../../lib/libXrdProofd.so
Undefined symbols for architecture x86_64:
  "XrdSysLogger::RmLogRotateLock()", referenced from:
      XrdSysLogger::~XrdSysLogger() in XrdProofConn.cxx.o
      XrdProofdAux::LogEmsgToFile(char const*, char const*, char const*) in XrdProofdAux.cxx.o
      XrdSysLogger::~XrdSysLogger() in XrdProofdProtocol.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libXrdProofd.so] Error 1
make[1]: *** [proof/proofd/CMakeFiles/XrdProofd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

```

This happens regardless of the options I give with cmake, so even for all set to OFF.

I tried to link the make files for libXrdProofd to an older working version but it didn’t seem to work (but maybe this was completely wrong).

Any hint?

Thanks in advance!

* * *

_Please read [tips for efficient and successful posting](https://root-forum.cern.ch/t/tips-for-efficient-and-successful-posting/28292) and [posting code](https://root-forum.cern.ch/t/posting-code-read-this-first/28293)_

\_ROOT Version: 6.16.00 / 6.18.04  
\_Platform: MacOS  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![Deckard](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/deckard/32/13787_2.png) [@Deckard](https://root-forum.cern.ch/u/Deckard)\
**Post date:** [November 12, 2019, 2:18pm UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/2 "2019-11-12T14:18:25Z")

</div>

Still no replies… 😕

Maybe an up? ⬆

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [November 12, 2019, 9:08pm UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/3 "2019-11-12T21:08:10Z")

</div>

> [@Deckard](#):
>
> This happens regardless of the options I give with cmake, so even for all set to OFF.

Humm disabling xrootd support should prevent all compilation and thus all compaints about xrootd … maybe there is a problem with the way the setting OFF is done. What did you try?

> I tried to link the make files for libXrdProofd to an older working version but it didn’t seem to work (but maybe this was completely wrong).

Sounds like there might be multiple copies of those libraries. Did you install a new version of xrootd or are you using the builtin one?

---

<div class="post-metadata">

**Author:** ![Deckard](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/deckard/32/13787_2.png) [@Deckard](https://root-forum.cern.ch/u/Deckard)\
**Post date:** [November 13, 2019, 9:06am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/4 "2019-11-13T09:06:05Z")

</div>

Hi, thank you so much for the reply!

I get the error message above compiling with

```auto
cmake ../root-6.18.04/ -DCMAKE_INSTALL_PREFIX=/usr/local/root -Droofit=ON -Dtmva=ON -Dminuit2=ON -Dpython=ON

```

And the same happens if I set all _those_ options to OFF. Sorry, I was not clear about this.

> [@pcanal](#):
>
> Sounds like there might be multiple copies of those libraries. Did you install a new version of xrootd or are you using the builtin one?

I am trying to install a new version of Root in different directories than the previous. This shouldn’t cause the files to conflict. Or should I uninstall the previous version of Root before compiling a new one?

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [November 14, 2019, 9:24am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/5 "2019-11-14T09:24:06Z")

</div>

Catalina is a mess. Try this binary, works for me: [https://root.cern/download/nightly/root\_v6.18.99.macosx64-10.15-clang110.pkg](https://root.cern/download/nightly/root_v6.18.99.macosx64-10.15-clang110.pkg)

And building ROOT while having existing ROOT build is not a problem at all. But binaries are way easier 🙂 It’ll end up in `/Applications/root-...`

Axel.

---

<div class="post-metadata">

**Author:** ![Deckard](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/deckard/32/13787_2.png) [@Deckard](https://root-forum.cern.ch/u/Deckard)\
**Post date:** [November 15, 2019, 1:21am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/6 "2019-11-15T01:21:41Z")

</div>

Hi, thank you for the good advice! Everything went smoothly during the installation and it works nicely with my old macros. Great!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 29, 2019, 1:32am UTC](https://root-forum.cern.ch/t/problems-after-moving-to-catalina/36710/7 "2019-11-29T01:32:43Z")

</div>

Closed on November 29, 2019, 1:32am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
