[MacPorts] #61463: mongodb @4.4.1_0 mongod: cannot execute binary file on macOS 10.15

MacPorts noreply at macports.org
Sun Nov 15 07:04:43 UTC 2020


#61463: mongodb @4.4.1_0 mongod: cannot execute binary file on macOS 10.15
--------------------------------------+--------------------
 Reporter:  ValeryKV                  |      Owner:  (none)
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.6.3
 Keywords:  mongodb, catalina, macOS  |       Port:
--------------------------------------+--------------------
 I have upgraded macOS to 10.15 and installed Xcode 12.2, then I followed
 "Migration procedure" and reinstalled all ports. After that mongod failed
 to start. I uninstalled mongodb and reinstalled it again, but it did not
 help. Most possible it was built as 32 bit.
 Here are some outputs:

 {{{
 api:~ valery$ mongo
 -bash: /opt/local/bin/mongo: cannot execute binary file
 }}}

 {{{
 api:~ valery$ file /opt/local/bin/mongo
 /opt/local/bin/mongo: data
 }}}

 {{{
 api:~ valery$ ls -al /opt/local/bin/mongo*
 -rwxr-xr-x  1 macports  admin  51098720 Nov 14 22:45 /opt/local/bin/mongo
 -rwxr-xr-x  1 macports  admin  85955312 Nov 14 22:45 /opt/local/bin/mongod
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61463>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list