How to Install "libguide.so" in /lib directory of RedHat Linux?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post #2 ajeetsinghraina. Not a good idea.
(And it is not a driver, is a shared library.)
If you have the intel c , c++ or ifort installed,
you may already have the "libguide.so" in /opt///.
Point to it : export LD_LIBRARY_PATH=/<path-to>
'libguide.so' is used at runtime for applications
compiled with the intel (c++) compiler.
If you don't have the compiler available, better try
one rpm package version at a time. Version 8 , i386 : http://rpm.pbone.net >> Advanced Search, Select all,
keyword = intel-icc
e.g. ftp://ftp.sunet.se/pub/databases/rel...8.0-0.i386.rpm
> intel-icc8-libs-8.0-0.i386.rpm
Please do not install it, may be too many conflicts ?
Unpack: rpm2cpio intel-icc8-libs-8.0-0.i386.rpm | cpio -idmv
and: # cp libguide.so /usr/lib/
..
I'm really a newbie. I just use red hat so I can run a specific software.
But you are right, the libguide.so is in the /opt directory....specifically in the /opt/<software_manufacturer>/<software_package>/lib/libguide.so
I copy this libguide.so in the /root/lib directory. Is that right?
Thanks,
Jo
Quote:
Originally Posted by knudfl
Post #2 ajeetsinghraina. Not a good idea.
(And it is not a driver, is a shared library.)
If you have the intel c , c++ or ifort installed,
you may already have the "libguide.so" in /opt///.
Point to it : export LD_LIBRARY_PATH=/<path-to>
'libguide.so' is used at runtime for applications
compiled with the intel (c++) compiler.
If you don't have the compiler available, better try
one rpm package version at a time. Version 8 , i386 : http://rpm.pbone.net >> Advanced Search, Select all,
keyword = intel-icc
e.g. ftp://ftp.sunet.se/pub/databases/rel...8.0-0.i386.rpm
> intel-icc8-libs-8.0-0.i386.rpm
Please do not install it, may be too many conflicts ?
Unpack: rpm2cpio intel-icc8-libs-8.0-0.i386.rpm | cpio -idmv
and: # cp libguide.so /usr/lib/
..
but it did not work. Do you have any idea how to fix it?
***********************
Summary:
SELinux is preventing StandaloneInit from loading
/opt/<software_manufacturer>/<package>/lib/libguide.so which requires text relocation.
Detailed Description:
The StandaloneInit application attempted to load
/opt/<software_manufacturer>/<package>/lib/libguide.so which requires text relocation. This is a potential security problem. Most libraries do not need this permission.Libraries are sometimes coded incorrectly and request this permission. The SELinux Memory Protection Tests (http://people.redhat.com/drepper/selinux-mem.html) web page explains how to remove this requirement. You can configure SELinux temporarily to allow /opt/<software_manufacturer>/<package>/lib/libguide.so to use relocation as a workaround, until the library is fixed. Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
Allowing Access:
If you trust /opt/<software_manufacturer>/<package>/lib/libguide.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/opt/<software_manufacturer>/<package>//lib/libguide.so'" You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t '/opt/<software_manufacturer>/<package>/lib/libguide.so'"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.