<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:08:33 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[MONGOCRYPT-375] Building for macOS-x86_64 but attempting to link with file built for macOS-arm64 on mac m1</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-375</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;Hey there, I don&apos;t see issues page, but i saw this PR about mac m1.&lt;br/&gt;
I use&#160;&lt;em&gt;Mac m1 12.0.1 monterey&lt;/em&gt;, and&#160;&lt;em&gt;node@14.17.0 | darwin | x64&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I successfully installed&#160;&lt;em&gt;mongodb-client-encryption&lt;/em&gt;&#160;npm package. Now when i try to run my index.js where i require(&apos;mongodb-client-encryption&quot;), it gives me following error in the terminal.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;Error: dlopen(/Users/ray/Desktop/crypt/cryptpad/database/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node, 0x0001): tried: &apos;/Users/ray/Desktop/crypt/cryptpad/database/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node&apos; (mach-o file, but is an incompatible architecture (have &apos;x86_64&apos;, need &apos;arm64e&apos;)), &apos;/usr/lib/mongocrypt.node&apos; (no such file)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;When i tried to rebuild inside node_modules,&#160;&lt;tt&gt;env BUILD_TYPE=&quot;dynamic&quot; npx node-gyp rebuild&lt;/tt&gt;, it throws: &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/357656/357656_Screenshot+2022-01-29+at+9.45.14+AM.png&quot; height=&quot;182&quot; width=&quot;568&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Anyone knows how to resolve ? I followed the README of _&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/_&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/_&lt;/a&gt;&#160;repo, but still same issue on mac M1&lt;/p&gt;</description>
                <environment></environment>
        <key id="1973676">MONGOCRYPT-375</key>
            <summary>Building for macOS-x86_64 but attempting to link with file built for macOS-arm64 on mac m1</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rajugautam45@gmail.com">Anon Decen</reporter>
                        <labels>
                            <label>bug</label>
                    </labels>
                <created>Sat, 29 Jan 2022 04:35:26 +0000</created>
                <updated>Thu, 16 Jun 2022 20:23:15 +0000</updated>
                            <resolved>Sun, 30 Jan 2022 20:40:28 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4323545" author="kevin.albertson" created="Sun, 30 Jan 2022 20:40:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rajugautam45%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;rajugautam45@gmail.com&quot;&gt;rajugautam45@gmail.com&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-3631&quot; title=&quot;Install of mongocrypt fails on M1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-3631&quot;&gt;&lt;del&gt;NODE-3631&lt;/del&gt;&lt;/a&gt; tracks M1 support of the mongodb-client-encryption package. Please watch &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-3631&quot; title=&quot;Install of mongocrypt fails on M1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-3631&quot;&gt;&lt;del&gt;NODE-3631&lt;/del&gt;&lt;/a&gt; for updates. &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-3631&quot; title=&quot;Install of mongocrypt fails on M1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-3631&quot;&gt;&lt;del&gt;NODE-3631&lt;/del&gt;&lt;/a&gt; includes steps for a workaround.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="357656" name="Screenshot 2022-01-29 at 9.45.14 AM.png" size="315627" author="rajugautam45@gmail.com" created="Sat, 29 Jan 2022 04:33:20 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i01mc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>