[Mesa-users] [EXTERNAL] Difficultly installing MESA, missing compatible architecture
Tuchow, Noah W. (GSFC-667.0)[NPP POST-DOC CONTRACT]
noah.w.tuchow at nasa.gov
Fri Aug 4 18:14:02 UTC 2023
I'll need to contact my system admin for permission to do that, and its unlikely that I'll hear back from them this afternoon. I'll let you know on Monday if upgrading XQuartz resolves the issue.
Noah
On 8/4/23, 2:10 PM, "RICHARD H D TOWNSEND" <townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>> wrote:
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Thanks! It looks like your version of Xquartz does not support native M1, only Intel. Can you try upgrading?
> On Aug 4, 2023, at 1:00 PM, Tuchow, Noah W. (GSFC-667.0)[NPP POST-DOC CONTRACT] <noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>> wrote:
>
> Oh sorry, here is the output from that command:
>
> /opt/X11/lib/libX11.6.dylib: Mach-O universal binary with 2 architectures: [i386:Mach-O dynamically linked shared library i386
> - Mach-O dynamically linked shared library i386] [x86_64]
> /opt/X11/lib/libX11.6.dylib (for architecture i386): Mach-O dynamically linked shared library i386
> /opt/X11/lib/libX11.6.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
>
> Noah
>
> On 8/4/23, 1:57 PM, "RICHARD H D TOWNSEND" <townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>>> wrote:
>
>
> CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
>
>
>
>
>
>
>
>
> Hi Noah -
>
>
> ‘file’ is a command - please run it as I indicated.
>
>
> Cheers,
>
>
> Rich
>
>
>> On Aug 4, 2023, at 11:42 AM, Tuchow, Noah W. (GSFC-667.0)[NPP POST-DOC CONTRACT] <noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>>> wrote:
>>
>> I'm using XQuartz 2.7.11 and XCode 13.4. One potential problem I could see is that the Xcode command line tools may be for a newer version, but I'm unclear as to how to uninstall them and install them for my current version.
>>
>> I'm unclear how to see the output of file /opt/X11/lib/libX11.6.dylib as it appears to be a binary file and doesn't open properly in a text editor.
>>
>> Best,
>> Noah
>>
>> On 8/4/23, 12:08 PM, "RICHARD H D TOWNSEND" <townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>>>> wrote:
>>
>>
>> CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi Noah —
>>
>>
>> (Please keep mesa-users copied on replies, so they can follow the conversation).
>>
>>
>> Can I ask what version of Xquartz you are using? Also, what’s the output from
>>
>>
>> file /opt/X11/lib/libX11.6.dylib
>>
>>
>> cheers,
>>
>>
>> Rich
>>
>>
>>>> On Aug 3, 2023, at 4:21 PM, Tuchow, Noah W. (GSFC-667.0)[NPP POST-DOC CONTRACT] <noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>>>> wrote:
>>>
>>> Hello,
>>>
>>> uname -m gives arm64 for me.
>>>
>>> I'm using the macOS(ARM/M1) version of the MESASDK and my terminal is arm64, so I'm not sure where the problem is coming from.
>>>
>>> Best,
>>> Noah
>>>
>>>> On 8/3/23, 5:17 PM, "RICHARD H D TOWNSEND" <townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>>><mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu> <mailto:townsend at astro.wisc.edu <mailto:townsend at astro.wisc.edu>>>>> wrote:
>>>
>>>
>>> CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Dear Noah —
>>>
>>>
>>> This behavior might be occurring because you are running from an Intel-architecture shell. To check this, run
>>>
>>>
>>> uname -m
>>>
>>>
>>> What output does this give? If x86_64, then you are indeed running the Intel shell (which is translated internally by Rosetta into ARM code). To change this so that the shell runs natively, try the following:
>>>
>>>
>>> • Go to Finder > Applications and find your Terminal
>>> • Right-Click "Terminal" > Get Info > Disable Open using Rosetta
>>>
>>>
>>> cheers,
>>>
>>>
>>> Rich
>>>
>>>
>>>>> On Aug 3, 2023, at 2:56 PM, Tuchow, Noah W. (GSFC-667.0)[NPP POST-DOC CONTRACT] via Mesa-users <mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>>>>> wrote:
>>>>
>>>> Hello,
>>>> I’m having trouble with installing MESA on my MacBook Pro with an M1 processor. I’ve used MESA on Linux machines before, but this is my first time installing it on a mac. I am trying to install MESA r23.05.1 and the MESA SDK 23.7.2 for MacOS (ARM/M1). I have Xcode developer tools, Xcode command line tools and XQuartz installed on my computer and my MacOS version is 12.6.8 (does it need to be Ventura to work?). I’m encountering an error where the installation of MESA fails with the following error message:
>>>> dyld[25513]: Library not loaded: '/opt/X11/lib/libX11.6.dylib'
>>>> Referenced from: '/Applications/mesasdk/lib/libpgplot.dylib'
>>>> Reason: tried: '/opt/X11/lib/libX11.6.dylib' (fat file, but missing compatible architecture (have (i386,x86_64), need (arm64e))), '/usr/local/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file)
>>>> ./ck: line 14: 25513 Abort trap: 6 ./star > log
>>>> FAILED
>>>> /Users/ntuchow/MESA/mesa-r23.05.1/star/test
>>>> TEST FAILED -- compare test_output to tmp.txt
>>>> /Users/ntuchow/MESA/mesa-r23.05.1/star
>>>> ./build_and_test FAILED
>>>> This error is repeatable after I clean the install and try it again. From what I can infer, it looks like one of the files it’s trying to read is for the wrong chip architecture, and the tests are failing. Do you have any idea how to resolve this issue? I searched in the mailing list archive but wasn’t able to find an example of the same issue. I’ve attached the build log file in case that helps.
>>>> Thanks for your help,
>>>> Noah Tuchow
>>>> --
>>>> Noah Tuchow, PhD
>>>> NPP Postdoctoral Fellow
>>>> Exoplanets and Stellar Astrophysics Lab, Code 667
>>>> NASA Goddard Space Flight Center, B34 E305
>>>> noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>>> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov> <mailto:noah.w.tuchow at nasa.gov <mailto:noah.w.tuchow at nasa.gov>>>><build.log>_______________________________________________
>>>> mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org> <mailto:mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>>>>
>>>> https://lists.mesastar.org/mailman/listinfo/mesa-users<https://lists.mesastar.org/mailman/listinfo/mesa-users> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;> <https://lists.mesastar.org/mailman/listinfo/mesa-users;>
>>
>>
>>
>>
>>
>>
>>
>
>
>
More information about the Mesa-users
mailing list