You are not logged in.
Dear friends
I installed cadabra from source code, based on structions from here. I do not get any error while installing every package. next, I updated my system. But when I type cadabra in terminal, I get the following.
$ cadabra
cadabra: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directoryLast edited by Tomi98 (2015-08-13 12:47:26)
Offline
Did you write a PKGBUILD for this? If so, post the PKGBUILD. If not, share the exact commands you used to build.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
No, I did not write any PKGBUILD. I did:
1)First I do
sudo pacman -S gmp2)Second I do
sudo pacman -S pcre3) In this step, because I must install "LiE". But its website is down for me. I could not find "LiE" in aur also. So, I compile it from source code with any error. It works very good for itself:
$ lie
LiE version 2.2.2 created on Jun 1 2012 at 16:24:50
Authors: Arjeh M. Cohen, Marc van Leeuwen, Bert Lisser.
Purpose: development CWI
type '?help' for help information
type '?' for a list of help entries.
> So, package "LiE" is installed.
4) In this step, I must install "gtk+". But "gtk2" and "gtk3" are installed in my system. So, this is passed.
5) Now I do
sudo pacman -S gtkmm6) In this step, I must install some of LaTeX packages. I installed them while installing Texlive. So, this is passed too.
7) I installed this with no error.
8) Finally, I installed this with no error too.
9) I restart system and hit in terminal "cadabra" and get my previous post error.
Offline
Post the output of these command please.
ls -l /usr/lib/libgmp.so*and
pacman -Qi gmpI am sorry if my English is hard to understand. Please ask if you would like me to explain something again.
Offline
Thank you. These are the results:
$ ls -l /usr/lib/libgmp.so*
lrwxrwxrwx 1 root root 16 Feb 15 08:22 /usr/lib/libgmp.so -> libgmp.so.10.2.0
lrwxrwxrwx 1 root root 16 Feb 15 08:22 /usr/lib/libgmp.so.10 -> libgmp.so.10.2.0
-rwxr-xr-x 1 root root 598952 Feb 15 08:22 /usr/lib/libgmp.so.10.2.0and
$ pacman -Qi gmp
Name : gmp
Version : 6.0.0-2
Description : A free library for arbitrary precision arithmetic
Architecture : x86_64
URL : http://gmplib.org/
Licenses : LGPL3 GPL
Groups : None
Provides : None
Depends On : gcc-libs sh
Optional Deps : None
Required By : cddlib cln coreutils ecl flintqs gap givaro gmp-ecm
guile iml lib32-gmp libgap mpfr nettle ntl pari-sage
ppl python2-crypto ruby zn_poly
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 960.00 KiB
Packager : Allan McRae <allan@archlinux.org>
Build Date : Sun 15 Feb 2015 08:22:49 AM IRST
Install Date : Thu 13 Aug 2015 11:10:18 AM IRDT
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : SignatureOffline
Nice, their list of bugs is 404, and last release was two years ago. Anyway, I suspect it includes some binaries in the "source" download, or it uses a absolutely horrible makefile. I'll have a look in a minute.
Edit: You could do a readelf to see exactly what tries to load libgmp.so.3, might not be a direct dep.
Edit2: the log from configure would be nice too
Last edited by Mr.Elendig (2015-08-13 09:50:12)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Umm.. It seems no problem.
Did you build it on the same machine?
I tried the same steps with #3, but I couldn't reproduce the problem ![]()
Just to be sure, please post the output of
objdump -p $(which cadabra) | grep NEEDEDLast edited by remingtontonpon (2015-08-13 11:09:00)
I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.
Offline
Ok. the problem is solved. The line 37 in the makefile of "cadabra" package, is
install -m 0755 xcadabra ${DESTDIR}/usr/local/bin I changed it to
install -m 0755 xcadabra ${DESTDIR}/usr/bin and my cadabra is working now. It is not important. This is important that I have good friends here that they are ready to help to each other based on kindness and GNU philosophy.
Offline
You really shouldn't hack Makefiles to install outside of /usr/local/ -- writing a PKGBUILD is strongly suggested. Glad your issue is solved though ![]()
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline