winetricks: ar: command not found for load_opensymbol

Created on 12 Jun 2016  路  6Comments  路  Source: Winetricks/winetricks

I've winetricks already installed (_winetricks is already the newest version_) on Ubuntu, so I assume I've got all the required dependencies.

Now I'm downloading the version from GitHub:

wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

Now I'm running this command (which uses the winetricks from the current dir):

$ bash -x winetricks mt4

however it fails with:

Executing w_do_call opensymbol
Executing load_opensymbol
Executing ar x /home/ubuntu/.cache/winetricks/opensymbol/fonts-opensymbol_102.6+LibO4.3.3-2+deb8u3_all.deb data.tar.xz
winetricks: line 289: ar: command not found
------------------------------------------------------
Note: command 'ar x /home/ubuntu/.cache/winetricks/opensymbol/fonts-opensymbol_102.6+LibO4.3.3-2+deb8u3_all.deb data.tar.xz' returned status 127.  Aborting.

I've tried sudo apt-get install ar but it says it cannot locate such package. I believe this is the issue for all apps which are calling load_opensymbol.

How do I install ar command, and should winetricks add this command as dependency somehow?

All 6 comments

Make sure you have binutils installed.

It seems it works, thanks. I assume winetricks would expect that this should be already installed? Or there should be some extra check whether the command exists or not.

On Jun 12, 2016 2:04 PM, "Rafal" [email protected] wrote:

It seems it works, thanks. I assume winetricks would expect that this
should be already installed?

Yes, it's usually installed on most distros afaik. What are you running?

In any case, it could warn better. I'll add a fix when I get back to a pc.

I'm running fresh AWS EC2 instance of Ubuntu 14.04.3 LTS (ami-fce3c696) with the following provisioning script: provision.sh (before adding binutils), so basically winetricks is installed with wine1.8 package by the following commands:

sudo dpkg --add-architecture i386
sudo add-apt-repository -y ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install -y wine1.8

Get:432 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe winetricks all 0.0+20140302-0ubuntu2 [131 kB]
Preparing to unpack .../winetricks_0.0+20140302-0ubuntu2_all.deb ...
Setting up winetricks (0.0+20140302-0ubuntu2) ...
...

$ winetricks --version
20140302
$ ar
The program 'ar' can be found in the following packages:
 * binutils
 * binutils-multiarch

Thanks for the info. You should get a better error message after https://github.com/Winetricks/winetricks/commit/900f58df591d364a4728cec826341bc0c229d0a8.

Unfortunately 7zip has a bug (I think, haven't verified yet), so I can't add a fallback to 7zip.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nl255 picture nl255  路  10Comments

Kreyren picture Kreyren  路  5Comments

kenorb picture kenorb  路  12Comments

Gcenx picture Gcenx  路  7Comments

601t picture 601t  路  4Comments