How to Install "libguide.so" in /lib directory of RedHat Linux?
Hi,
How to Install "libguide.so" in /lib directory of RedHat Linux? I'm installing a software that is trying to look for it. Thanks, Jo |
Look for RPM corresponding to the package.
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html may install this driver for you. |
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/ .. |
Knudfl,
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:
|
Default is /usr/lib/
But if you must, then /lib/ No need to copy. Make a link : 1) su 2) ln -s //opt//<path-to>///libguide.so /lib/ And please do not use /root// for anything. Never. .. |
I encountered the error report below.
I tried the command suggested by the troubleshooting browser: chcon -t textrel_shlib_t '/opt/<software_manufacturer>/<package>/lib/libguide.so' 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'" The following command will allow this access: chcon -t textrel_shlib_t '/opt/<software_manufacturer>/<package>/lib/libguide.so' *********************** Quote:
|
Thank you. I now have a link to libguide.so.
Ok I will not use /root/. I post the problem affected by the lack of libguide.so. The SELinux is not allowing StandaloneInit that's why I cannot install my software. Thanks! Have a good one! Quote:
|
Hi Knudfl,
I'm installing the software but it gives me the same problem of the "libguide.so" again. I tried these: [root@localhost lib]# export LD_LIBRARY_PATH=/opt/<package>///lib [root@localhost lib]# /opt/<package>//StandaloneInit /opt/<package>//bin/StandaloneInit: error while loading shared libraries: /opt/<package>//lib/libguide.so: cannot restore segment prot after reloc: Permission denied What can I do to fix it? Thanks in advance. Quote:
|
All times are GMT -5. The time now is 07:22 PM. |