LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LD_LIBRARY_PATH or PATH for finding files (https://www.linuxquestions.org/questions/linux-newbie-8/ld_library_path-or-path-for-finding-files-4175487028/)

jyunker 12-05-2013 03:57 PM

LD_LIBRARY_PATH or PATH for finding files
 
In the following output the system claims it cannot find two files

sudo yum install par4all-1.4.3-1.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.finalasp.com
* elrepo: ftp.colocall.net
* epel: mirror.es.its.nyu.edu
* extras: mirror.us.leaseweb.net
* rpmforge: mirror1.hs-esslingen.de
* updates: centos.mirror.facebook.net
Setting up Install Process
Examining par4all-1.4.3-1.x86_64.rpm: par4all-1.4.3-1.x86_64
Marking par4all-1.4.3-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package par4all.x86_64 0:1.4.3-1 will be installed
--> Processing Dependency: libcudart.so.4()(64bit) for package: par4all-1.4.3-1.x86_64
--> Processing Dependency: libcufft.so.4()(64bit) for package: par4all-1.4.3-1.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: par4all-1.4.3-1.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: par4all-1.4.3-1.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: par4all-1.4.3-1.x86_64
--> Finished Dependency Resolution
Error: Package: par4all-1.4.3-1.x86_64 (/par4all-1.4.3-1.x86_64)
Requires: libmpfr.so.4()(64bit)
Error: Package: par4all-1.4.3-1.x86_64 (/par4all-1.4.3-1.x86_64)
Requires: libcudart.so.4()(64bit)
Error: Package: par4all-1.4.3-1.x86_64 (/par4all-1.4.3-1.x86_64)
Requires: libpython2.7.so.1.0()(64bit)
Error: Package: par4all-1.4.3-1.x86_64 (/par4all-1.4.3-1.x86_64)
Requires: libcufft.so.4()(64bit)
Error: Package: par4all-1.4.3-1.x86_64 (/par4all-1.4.3-1.x86_64)
Requires: libgmp.so.10()(64bit)
You could try using --skip-broken to work around the problem
^C[james@james Desktop]$
[james@james Desktop]$
[james@james Desktop]$
[james@james Desktop]$ sudo find / -name libcudart.so.4
/opt/pgi/linux86-64/2013/cuda/4.2/lib64/libcudart.so.4
/opt/pgi/linux86-64/2012/cuda/4.0/lib64/libcudart.so.4
/opt/pgi/linux86-64/2012/cuda/4.2/lib64/libcudart.so.4
/opt/pgi/linux86-64/2012/cuda/4.1/lib64/libcudart.so.4
/opt/pgi/linux86/2013/cuda/4.2/lib/libcudart.so.4
/opt/pgi/linux86/2012/cuda/4.0/lib/libcudart.so.4
/opt/pgi/linux86/2012/cuda/4.2/lib/libcudart.so.4
/opt/pgi/linux86/2012/cuda/4.1/lib/libcudart.so.4
[james@james Desktop]$ sudo find / -name libcufft.so.4
/opt/pgi/linux86-64/2013/cuda/4.2/lib64/libcufft.so.4
/opt/pgi/linux86-64/2012/cuda/4.0/lib64/libcufft.so.4
/opt/pgi/linux86-64/2012/cuda/4.2/lib64/libcufft.so.4
/opt/pgi/linux86-64/2012/cuda/4.1/lib64/libcufft.so.4
/opt/pgi/linux86/2013/cuda/4.2/lib/libcufft.so.4
/opt/pgi/linux86/2012/cuda/4.0/lib/libcufft.so.4
/opt/pgi/linux86/2012/cuda/4.2/lib/libcufft.so.4
/opt/pgi/linux86/2012/cuda/4.1/lib/libcufft.so.4
/home/james/Downloads/libcufft.so.4

The files as you can see are on the harddrive. The installer just is not finding them.

Should I out their path in LD_LIBARY_PATH or in PATH? Would this help
the installer find the files? As I said they are on the harddrive the installer just is not finding the files.

I am using Centos 6.5, 64 bit.

Thanks in advance.

Respectfully,

jyunker

evo2 12-05-2013 07:45 PM

Hi,

I strongly recommend you install by following the advanced install instructions that I linked to in your other thread. Then if you have problems following those instructions post here again (in new thread).

Using alien to convert a deb to an rpm in this case will just increase the complexity and the number of problems you'll need to hack around.

Evo2.

John VV 12-05-2013 08:21 PM

i see a possible VERY BIG problem in the first post
this is CentOS 6.5 so having
elrepo
epel
rpmforge
all installed WITHOUT !!! having "yum-priorities" plugin installed and configured

IS going to cause problems !

and libpython2.7 is not installed in centos 6
this must be installed
and if a rpm NEEDS this then you can NOT use the source ( unless you convert it to a rpm install)
use one of the thirdparty repos that has python27
or rebuild a ptyhon27 SRC.rpm


also it is normally a rather bad idea to use the FULL name
"yum install par4all-1.4.3-1.x86_64.rpm"
that can cause all kinds of problems

use
Code:

su -
yum install par4all

or if it is a local install from a downloaded rpm ( not recomended normally )
Code:

su -
cd /To/The/Location/Of/The/rpm
yum localinstall par4all


evo2 12-05-2013 10:20 PM

Hi John,

Quote:

Originally Posted by John VV (Post 5076249)
or if it is a local install from a downloaded rpm ( not recomended normally )

It's a local install of an rpm created from a deb using alien. See http://www.linuxquestions.org/questi...es-4175486884/ for background info.

Evo2.

jyunker 12-06-2013 08:10 AM

needed files
 
I agree with you to install the advanced way. That clearly is better that using a tricked up rpm file derived from a debian file. However, I will still need the files listed here. They are obviuosly required for the par4all operation. This would be the case no matter how one makes the install. They are supporting files for par4all and thay are not available from the writers and makers of par4all. I must go out and get them.

As I said, I did the most complicated *tar.gz install and when I ran the first tests it failed because it could not find these files. That is my only concern now. If I have all of them then par4all will work. If I do not it will not work.

I have found most of them just not all of them.

Also, the yum provides ** does not work on three of these files. So where are they provided in packages?

Respectfully,

jyunker


All times are GMT -5. The time now is 09:17 PM.