Trying to run Game Dev Tycoon on Ubuntu 64. It asks for the above object.
I ran
sudo apt-get install libudev1:i386
and it came back already installed.@Braiam is spot on. You should also know that finding a file with locate does not mean it exists.locate uses a database that is refreshed every now and then. It does not search the actual file systsem but it's database. You can run updatedb to refresh the database before searching or use the -e flag:-e, -existing Print only entries that refer to files existing at the time locate is run. Jan 06, 2017 Domoticz is a free and open source home automation server very simple to install and configure on a Raspberry Pi 3 (or 2). In this article we will discover how to install and configure it.To write this article I used a Raspberry Pi 3 equipped with a Micro SD card 8GB class 10. We will see how to configure the WiFi connection of the new Raspberry Pi 3 if you do not have an ethernet plug nearby.
I have
heemayl/lib/i386-linux-gnu/libudev.so.1
but no libudev.so.0
anywhere.69.7k11 gold badges147 silver badges219 bronze badges
senshikazesenshikaze3,1082 gold badges14 silver badges13 bronze badges
15 Answers
For 64-bit Ubuntu, it is in the 32-bit libudev0 package.
You can install that with the following command:
This package was removed from Ubuntu in 14.04. You will need to install it from an older version.
SeanSean
heemayl69.7k11 gold badges147 silver badges219 bronze badges
senshikazesenshikaze3,1082 gold badges14 silver badges13 bronze badges
The easiest method I found was to just download the .deb (direct link to 64-bit download and to 32-bit download) and double click it to install it or use dpkg to install it:
In previous version of ubuntu this package was available in the official repositories. You can install with the following:
Ryan CrichtonRyan Crichton
I had the same problem for a different program, but Sean's accepted answer didn't help me at all. On my upgraded install of 64-bit 13.04, libudev0 is not available either in 64-bit form or i386 form. And ia32-libs is already installed. So no dice.
What I had to do was a slightly modified version senshikaze's more technical solution. I manually symlinked libudev.so.0 to libudev.so.1 in the x86_64 lib directory, thusly:
This fixed it for me.
CliffCliff
This error might happen when trying to use nw executable from Node Webkit. Like this:
How to solve:
- Get hex editor that allows you to change ASCII string of binary, eg. hexedit:
- In terminal(Ctrl+Alt+T), run:
sudo apt-get install hexedit
. - Follow instructions presented in terminal(type password if needed, confirm install).
- In terminal(Ctrl+Alt+T), run:
- Go to directory with node webkit:
- In my case:
cd ~/Dokumenty/node-webkit-*
.
- In my case:
- Open nw binary using hex editor command preceded with
sudo
:- Run:
sudo hexedit nw
.
- Run:
- Search for
libudev.so.0
as ASCII string:- If using hexedit: Press Tab.
- Press Ctrl+S.
- Type:
libudev.so.0
.
- Change
0
inlibudev.so.0
string to1
, so it becomes:libudev.so.1
:- Use arrow keys to select
0
inlibudev.so.0
string. - Press 1 on keyboard.
- Use arrow keys to select
- Exit and save changes.
- Press Ctrl+X.
- Press Y to save changes.
You're done. This also fixes problem with Atraci binary when following same instructions except hex editing Atraci file instead of nw.
Daniel KmakDaniel Kmak
The only answer here that works on Ubuntu 14.04 is the accepted answer, and since many comments point out that this can cause issues with the system down the road (although I don't know about that myself) I came up with a compromise. This script will prompt (in the terminal) for your root password. It will create the symbolic link and launch the application (in my case, popcorn time). When you quit the application, it will use the existing sudo session to remove the symbolic link:
TenLeftFingersTenLeftFingers
I just found a way to make this work, is pretty silly though.
I have Google Chrome installed on my system and Chrome has this shared object embedded. So, I just had to make a symbolic link to the library on Chrome installation directory.
It works pretty fine for me.
nunesvictornunesvictor
Weston GangerWeston Ganger
as Phil Strong pointed out
install
libudev.so.1
then link it as
libudev.so.0
Community♦
ZeroowsZeroows
i did this on 14.04, but should be similar. just delete the package and re-install. the correct libraries are installed appropriately.
i'm sure the other answers work, but i have a basic beef in modifying file system objects that are managed by configuration management packages.
MARK SMITHMARK SMITH
This is what I used to solve the same problem on 32 bit Ubuntu 15.04.
user491326user491326
UPDATE I made a bash script to wrap around the program you want to execute. You can add it to your local bin folder and just start the program without the copy & pasting or running shell scripts.
OLD ANSWERIn Ubuntu 14.04 I was getting the error message from the Dart Editor when trying to use Live Preview (Chromium). The error was solved by installing libudev1 and creating a symbolic link.
I also used the script mentioned above by TenLeftFingers to execute DartEditor.
If the Dart Editor doesn't execute make sure JAVA is installed and that is not a permission issue.
and make the IDE executable:
This worked for me.
DiazDiaz
I was getting the same error on my 32-bit system after upgrading from Xubuntu Precise to Trusty. This fixed it for me:
I found it here. With absolutely no parameters, I'm not quite sure how this fixed it, but it did. What I liked best is that it didn't require doing anything that would potentially cause problems for me in the future, and didn't require me hunting down any packages.
undrlineundrline
If anyone stumble upon this page while digging the web for fixes on the libudev.so.0 & the Emotiv Epoc SDK Dev Edition on Ubuntu, I hope the following will help:
// my config is 64bit Ubuntu 13.04
For a 64-bit system:
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1. /lib/x86_64-linux-gnu/libudev.so.1
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0
For a 32-bit system:
sudo ln -sf /lib/i386-linux-gnu/libudev.so.1. /lib/i386-linux-gnu/libudev.so.1
sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0
The EmotivControlPanel, EmoKey, EmoComposer, the Java examples & little customized Qt examples should be able tu run after doing the above ( I already tried all the steps above + others found on the web ( stack overflow, .. ), but none were working for me, so that's what I ended up doing after some 'try & errors'
Last but not least, If anyone here knows how to run programs compiled against 32bit libs on a 64bit system WHILE SPECIFYING TO USE A PROVIDED 3RD PARTY 32BIT LIBRARY ?
more precisely, for those who knows what I'm talking about, how am I supposed to run the 'EmoCube' & 'BlueAvatar' Qt examples on my 64bit system ?
--> for what I've tried so far, the most I could get was: 'error while loading shared libraries: libedk.so.1: wrong ELF class: ELFCLASS64'
I guess that a symlink to that lib in the i386 directory wouldn't make it ( although I did not try it yet ), so if anyone has an answer ... I.m looking forward to reading it.
Cheers all +
StephaneAGStephaneAG
Run these commands in a terminal:
This has helped me
kiri20.1k14 gold badges60 silver badges106 bronze badges
user214274user214274
protected by heemaylJan 9 '16 at 21:29
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged software-installationshared-library or ask your own question.
After extracting
Popcorn-Time-linux32.tar.gz
, it shows these 4 files: libffmpegsumo.so
, nw.pak
, package.nw
e o Popcorn-time
.How to install it on Linux Mint 17 Cinnamon 32-bit (v 2.2.16)?
Kevdog7772,12713 gold badges35 silver badges61 bronze badges
elciocselciocs
2 Answers
There might be some missing dependencies but you could always try and start it by issuing:
./Popcorn-time
in the directory you extracted it to.Does that launch it or give any error messages or similar?
Kevdog7772,12713 gold badges35 silver badges61 bronze badges
Swedish MikeSwedish Mike
techraf4,35310 gold badges23 silver badges43 bronze badges
KHALDOUN MohsenKHALDOUN Mohsen