I think this is using home-brew or other installation of gfortran. I have that 
dylib in the place the Rob mentioned from the gfortran wiki.

David

> On Apr 28, 2021, at 11:20 AM, Mu'taz Jaber <[email protected]> wrote:
> 
> Hi Rob: 
> 
> The following worked for me ( Anything inside ``` refers to a command line)
> 
> You have at the beginning to locate the file in the system
> 
> ```
> locate libquadmath.0.dylib
> ```
> 
> Then you can check where it is found, usually its in the 
> "usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/libquadmath.0.dylib" 
> 
> Thus, you link it where nonmem wants it to be
> ```
> ln usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/libquadmath.0.dylib  
> /usr/local/gfortran/lib/libquadmath.0.dylib
> ```
> Here, you go back to the original setup
> 
> cd ../nm75CD
> 
> Then 
> 
> ```
> sh SETUP75std $HOME/Downloads/nm75CD $HOME/nm75 gfortran
> ```
> 
> Hope it works for you!
> Mutaz
> -----------------------------------
> Mutaz M. Jaber, PharmD.
> PhD student, Pharmacometrics
> Experimental and Clinical Pharmacology
> University of Minnesota 
> 717 Delaware St SE; Room 468
> Minneapolis, MN 55414
> Email: [email protected]
> 
> 
> ~ Stay curious
> 
> 
> On Wed, Apr 28, 2021 at 6:14 AM Heine, Rob ter <[email protected]> 
> wrote:
> Hi Chandramouli,
> 
>  
> 
> Xcode and command line tools were already installed (before nonmem 
> installation) using the “xcode-select --install”  command. Again running this 
> command results in “xcode-select: error: command line tools are already 
> installed” and does not place the libraries in the folder nonmem installation 
> script is referring to.
> 
>  
> 
> Sincerely,
> 
> Rob
> 
> Van: Chandramouli Radhakrishnan <[email protected]>
> Datum: woensdag 28 april 2021 om 12:57
> Aan: Teijo Saari <[email protected]>, "Heine, Rob ter" 
> <[email protected]>, "[email protected]" <[email protected]>
> Onderwerp: RE: [NMusers] Troubleshooting installation of nonmembers 7.5 on 
> Mac with silicon M1 CPU
> 
>  
> 
> Please try this option -
> 
>  
> 
> Dynamic libraries changed on Big Sur so the linker could not find libSystem. 
> You have to install the right SDKs by running `xcode-select --install` (see 
> also: https://developer.ap...s/thread/655588en 
> https://github.com/p...c/issues/3684).
> 
>  
> 
> Chandramouli
> 
>  
> 
> From: [email protected] <[email protected]> On Behalf 
> Of Teijo Saari
> Sent: Wednesday, April 28, 2021 8:28 PM
> To: Heine, Rob ter <[email protected]>; [email protected]
> Subject: Re: [NMusers] Troubleshooting installation of nonmembers 7.5 on Mac 
> with silicon M1 CPU
> 
>  
> 
> CAUTION: This email originated from outside of Certara. Do not click links or 
> open attachments unless you recognize the sender and know the content is safe.
> 
>  
> 
>  
> 
> Might  work. I did fresh installation after hearing so much about problems 
> with recent OSX and Xcode.
> 
> Teijo
> 
> On 28.4.2021 12.54, Heine, Rob ter wrote:
> 
> Hi Teijo,
> 
>  
> 
> I did install gfortran again, but it did not help. Should I remove xcode as 
> well?
> 
>  
> 
> Sincerely,
> 
> Rob
> 
>  
> 
> Van: Teijo Saari <[email protected]>
> Datum: woensdag 28 april 2021 om 11:19
> Aan: "Heine, Rob ter" <[email protected]>, "[email protected]" 
> <[email protected]>
> Onderwerp: Re: [NMusers] Troubleshooting installation of nonmembers 7.5 on 
> Mac with silicon M1 CPU
> 
>  
> 
> Dear Rob.
> 
> I got this error solved previously by installing also gfortran anew. My 
> impression was that the xcode installation messed gfortran somehow up.
> 
> Best wishes,
> 
> Teijo
> 
> On 28.4.2021 11.55, Heine, Rob ter wrote:
> 
> Hi all,
> 
>  
> 
> I am trying to install nonmem 7.5 on my new mac, with an Apple silicon (M1) 
> CPU, but I am unsuccessful thusfar.
> 
>  
> 
> I have done the following:
> 
>  
> 
>       • Installed xcode command line tools
>       • Installed gfortran for silicon m1 CPUs from 
> https://github.com/fxcoudert/gfortran-for-macOS/releases/tag/11-arm-alpha2
>       • Followed the instructions for the right path, and copied the files 
> from https://nonmem.iconplc.com/nonmem750/MACOSX/ to the right folder inside 
> the nonmem installation folder nm750cd, as instructed by the 
> readme_MACOSX.txt file
>       • Started the installation from a terminal window using the command 
> “sudo /bin/bash SETUP75std $HOME/Downloads/nm750CD $HOME/nm750 gfortran y ar 
> same rec i”
>  
> 
> However, installation fails with the following message:
> 
> Step 6. Compile resource files
> 
> SETUP75std: line 523: 15300 Abort trap: 6           ./install 2 $zf $zu $f 
> "$op" "$mod" Linux "$u -a" o $pipe x > $msgs 2>&1
> 
> Compile of resource files failed.
> 
>  
> 
> Please look for error messages in /Users/robterheine/nm750/compilemsgs.txt 
> and /Users/robterheine/nm750/finishmsgs.txt
> 
>  
> 
> If I open these message files I see the following:
> 
> dyld: Library not loaded: /usr/local/gfortran/lib/libquadmath.0.dylib
> 
>   Referenced from: /Users/robterheine/nm750/./install
> 
>   Reason: image not found
> 
>  
> 
> It indeed seems that libqyadmath.0.dylib is not present on my drive.
> 
>  
> 
> Does anyone have suggestions how to get the installation working?
> 
>  
> 
> Sincerely,
> 
> Rob
> 
> De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. 
> Aan dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u 
> deze e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de 
> afzender te informeren. Openbaar maken, kopiëren en verspreiden van deze 
> e-mail of informatie uit deze e-mail is alleen toegestaan met voorafgaande 
> schriftelijke toestemming van de afzender. Het Radboudumc staat geregistreerd 
> bij de Kamer van Koophandel in het handelsregister onder nummer 80262783.
> 
> The content of this message is intended solely for the addressee. No rights 
> can be derived from this message or its attachments. If you are not the 
> intended recipient, we kindly request you to delete the message and inform 
> the sender. It is strictly prohibited to disclose, copy or distribute this 
> email or the information inside it, without a written consent from the 
> sender. Radboud university medical center is registered with the Dutch 
> Chamber of Commerce trade register with number 80262783.
> 
> De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. 
> Aan dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u 
> deze e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de 
> afzender te informeren. Openbaar maken, kopiëren en verspreiden van deze 
> e-mail of informatie uit deze e-mail is alleen toegestaan met voorafgaande 
> schriftelijke toestemming van de afzender. Het Radboudumc staat geregistreerd 
> bij de Kamer van Koophandel in het handelsregister onder nummer 80262783.
> 
> The content of this message is intended solely for the addressee. No rights 
> can be derived from this message or its attachments. If you are not the 
> intended recipient, we kindly request you to delete the message and inform 
> the sender. It is strictly prohibited to disclose, copy or distribute this 
> email or the information inside it, without a written consent from the 
> sender. Radboud university medical center is registered with the Dutch 
> Chamber of Commerce trade register with number 80262783.
> 
> De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. 
> Aan dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u 
> deze e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de 
> afzender te informeren. Openbaar maken, kopiëren en verspreiden van deze 
> e-mail of informatie uit deze e-mail is alleen toegestaan met voorafgaande 
> schriftelijke toestemming van de afzender. Het Radboudumc staat geregistreerd 
> bij de Kamer van Koophandel in het handelsregister onder nummer 80262783.
> 
> The content of this message is intended solely for the addressee. No rights 
> can be derived from this message or its attachments. If you are not the 
> intended recipient, we kindly request you to delete the message and inform 
> the sender. It is strictly prohibited to disclose, copy or distribute this 
> email or the information inside it, without a written consent from the 
> sender. Radboud university medical center is registered with the Dutch 
> Chamber of Commerce trade register with number 80262783. 
> 


Reply via email to