winecfg doesnt start due bad CPU type

Questions about Wine on macOS.
Locked
offroadhunter
Newbie
Newbie
Posts: 2
Joined: Thu Jan 27, 2022 2:53 am

winecfg doesnt start due bad CPU type

Post by offroadhunter »

Hi all,

I installed wine by brew on current release of mac os Montery (12.2) on an Intel Mac. I would like to use winecfg to configure wine. Unfortunately, I get the error message below:

surban@Mars ~ % winecfg
/usr/local/bin/winecfg: line 46: /usr/local/bin/wine: Bad CPU type in executable
/usr/local/bin/winecfg: line 46: /usr/local/bin/wine: Undefined error: 0
surban@Mars ~ %


My wine version:
surban@Mars ~ % wine64 --version
wine-7.0
surban@Mars ~ %


Has anyone an idea how can I solve this issue?

Thanks in advance...
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: winecfg doesnt start due bad CPU type

Post by Gcenx »

winecfg in PATH is just a wrapper script instead run

wine64 winecfg
offroadhunter
Newbie
Newbie
Posts: 2
Joined: Thu Jan 27, 2022 2:53 am

Re: winecfg doesnt start due bad CPU type

Post by offroadhunter »

Thanks :D Problem solved.
Locked