You are not logged in.
Hi, everyone!
I installed the scilab (archlinuxfr/scilab), but I have a problem:
[tbernardes@Arch ~]$ scilab
/usr/bin/scilab-bin: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory
I searched, found and tested some possible solutions. I setted LD_LIBRARY_PATH in .bashrc and .bash_profile. In addition, I edited the /etc/ld.so.conf file, add “/usr/lib64/openmpi/” (without quotes). However, they failed.
[tbernardes@Arch ~]$ mpicc -showme
gcc -pthread -Wl,-rpath -Wl,/usr/lib/openmpi -Wl,--enable-new-dtags -L/usr/lib/openmpi -lmpi
[tbernardes@Arch ~]$ mpic++ -showme
g++ -pthread -Wl,-rpath -Wl,/usr/lib/openmpi -Wl,--enable-new-dtags -L/usr/lib/openmpi -lmpi_cxx -lmpi
[tbernardes@Arch ~]$ echo $LD_LIBRARY_PATH
:/usr/lib/openmpi:/usr/lib64/openmpi
My references were:
Please, help me.
Best regards.
Offline
This is one of the many reasons the archlinuxfr sucks. Get rid of it and build things correctly from the AUR and your problem will go away.
Offline
Well, there is two scilab in AUR: (i) aur/scilab 5.5.2-3 and (ii) aur/scilab-git 5.5.1.270.g5598095-1. However, I can not install them.
These versions have a dependency (java-freehep-vectorgraphics), which is not described in "Dependencies of Scilab 5.X ". I can only get this dependency when I use VPN (ZenMate) in chrome, to access the FTP by USA. I live in Brazil.
To overcome this problem, I tried to edit the PKGBUILD, as well as to compile java-freehep-vectorgraphics, but I failed.
Now, I am without options. I do not know what to do.
Thanks.
Offline
Once you have the source downloaded, makepkg should find it and everything should work.
Offline
I overcome the problem. I do not use makepkg, but I found a solution.
I installed the necessary dependencies, I downloaded the source files (Scilab and Prerequirements), and I compiled them. After, I did some symbolic links for lib files, which missing. To see these files, we can use:
$ ldd /usr/local/bin/scilab-bin
The scilab source folder contains them.
Thanks
Last edited by tbernardes (2015-09-05 12:48:17)
Offline
Never ever run make install as root, and doing symlink farms are going to bit you in the ass later.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Never ever run make install as root, and doing symlink farms are going to bit you in the ass later.
Thanks for you tips, Mr.Elendig.
In this case, I need to use "make install" as root, because it did not work without root. In addition, I register all my configuration and my changes that I do in my system, as well as the problems, which I solved; thinking in future issues.
Moreover, I undid all previous changes, because I can install from aur in my home network. Before, I used job network. There was some protect that prevented the installation, in my job network.
Now, scilab works perfectly.
Best regards.
Offline
It works perfectly fine without root if you install to $HOME, if you want it installed system wide then use makepkg.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline