Opened 5 years ago

Closed 5 years ago

#57806 closed defect (fixed)

wine-devel @4.0-rc2: could not load binary

Reported by: thetrial (alabay) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: wine-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Since the last update I cannot start anything with wine. Even not winecfg. What still works is: wine --version.

All other things result in:

/opt/local/lib/../bin/wine: could not load binary

It’s absolutely not clear to me, what could not be loaded.

I use macports under El Capitan.

Change History (6)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Cc: ryandesign@… removed
Owner: set to ryandesign
Status: newassigned
Summary: wine-4.0-rc2 no startwine-devel @4.0-rc2: could not load binary

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Status: assignedaccepted

comment:3 in reply to:  2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

To try removing the wrapper, you could:

sudo mv /opt/local/libexec/wine/wine /opt/local/bin/wine

See if you notice any font problems or error messages with programs you run using wine after that.

If you later want to undo the change, you can:

sudo port -f deactivate wine-devel && sudo port activate wine-devel

So has anybody tried this modification? If so, do you notice any new problems as a result?

comment:4 Changed 5 years ago by mf2k (Frank Schima)

I tested it and saw no problems whatsoever.

comment:5 Changed 5 years ago by thetrial (alabay)

Seems to work. Thanks.

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 5d9951401de6c592d82bf224635128029680a558/macports-ports (master):

wine-devel: Remove wrapper script

This removes the wrapper script I added shortly after adding the wine
port 12 years ago, apparently to fix font problems.

See: #11779#comment:2
See: 88d79d741bf86b96ce4fd23386d05b0f90001867

Wine 4 now uses the preloader on macOS, which is incompatible with the
wrapper script. The simplest fix is to remove the wrapper.

I don't remember what the font problems were, and initial user reports
are that fonts look fine in wine 4 without the wrapper.

Closes: #57806

Note: See TracTickets for help on using tickets.