libudev0 on CentOS 7

624 views
Skip to first unread message

Alessio Iannone

unread,
Feb 16, 2016, 10:49:11 AM2/16/16
to Warewulf
Hi all guys, 
I am using CentOS 7 with the following kernel 3.10.0-327.4.5.el7.x86_64

I have an application that depends on libudev.so.0 but I have only libudev.so.1 someone suggest to make a link, but others says that this is not the correct approach.

For the Ubuntu distro there is a proper package that need to be installed (libudev0:i386) there is something equivalent on CentOS?

Regards

Alessio

Gregory M. Kurtzer

unread,
Feb 16, 2016, 12:58:16 PM2/16/16
to Warewulf
Hi Alessio,

The last digit on the library indicates the ABI compatibility level, so creating a sym link to a different version might work, but it is also might lead to unpredictable conditions and is thus not a great idea.

RHEL7 (and thus the clones) do not appear to have a compatibility library available (as Debian/Ubuntu does). If you require that library you would either need to find a compatibility library RPM provided by someone else, build it yourself, or run a RHEL6 based clone.

Ya know.... This is a perfect use case for Singularity, just sayin'. LOL


Good luck!

Greg

--
You received this message because you are subscribed to the Google Groups "Warewulf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to warewulf+u...@lbl.gov.
To post to this group, send email to ware...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/warewulf/74451b47-f875-4c63-b867-c2604cbfd279%40lbl.gov.
For more options, visit https://groups.google.com/a/lbl.gov/d/optout.



--
Gregory M. Kurtzer
Technical Lead and HPC Systems Architect
High Performance Computing Services (HPCS)
University of California
Lawrence Berkeley National Laboratory
One Cyclotron Road, Berkeley, CA 94720

quonn

unread,
Feb 17, 2016, 3:44:08 AM2/17/16
to ware...@lbl.gov
I am taking a look into Singularity, very interesting, needs further investigation ;-). 
About Singularity: Can I create a sapp for an application under a Linux distro and run this on a Windows machine? As far as I have understood Docker can accomplish such kind of task. At least can I run a sapp from a Ubuntu distro into a CentOS one? The last I suppose is allowed....
Nice work.

About libudev0 I have followed a blog post stating that this is available with google-chrome....I have installed google-chrome.....but no libudev0....so in the meanwhile I have tried with the link solution....

Gregory M. Kurtzer

unread,
Feb 17, 2016, 1:57:15 PM2/17/16
to Warewulf
On Wed, Feb 17, 2016 at 12:43 AM, quonn <alessio...@gmail.com> wrote:
I am taking a look into Singularity, very interesting, needs further investigation ;-). 
About Singularity: Can I create a sapp for an application under a Linux distro and run this on a Windows machine?

No, because it is a container it must be run on a compatible kernel.
 
As far as I have understood Docker can accomplish such kind of task.

I've heard that too, but I don't see how they do it unless they wrap it in some kind of emulator (which defeats the point of containerization if you ask me)... Maybe people run Dockers in a VM?
 
At least can I run a sapp from a Ubuntu distro into a CentOS one? The last I suppose is allowed....

Yes, but now it sounds so anti-climatic! LOL
 
Nice work.

Thanks! :)
 

About libudev0 I have followed a blog post stating that this is available with google-chrome....I have installed google-chrome.....but no libudev0....so in the meanwhile I have tried with the link solution....

I wouldn't count on an incidental inclusion of a common shared library being provided by an application because they could remove it with a new version, or it could be modified or built differently. The link solution is the easiest, but if you want to go for greatest compatibility I would build an older version of systemd(libs), and package just the library from that into an RPM and install that. ... But granted, that is a lot of work (especially compared to Singularity!). lol

Best of luck to ya!

Greg


 
Reply all
Reply to author
Forward
0 new messages