Back to Forum | View unanswered posts | View active topics
Topic review - libreadline error |
Author |
Message |
|
|
Post subject: |
Re: libreadline error |
|
|
Deleting the whole directory and re-unzipping all the files did the trick. Still dont know what the problem was!
Anyways, thanks for the help.
VInay
Deleting the whole directory and re-unzipping all the files did the trick. Still dont know what the problem was!
Anyways, thanks for the help.
VInay
|
|
|
|
Posted: Wed Apr 03, 2013 1:38 pm |
|
|
|
|
|
Post subject: |
Re: libreadline error |
|
|
Please check whether your are calling indeed the x86.static version. To do so, proceed as follows. Change to the directory where you have untared the tar.gz file e.g. Code: cd /tmp/Singular/3-1-6/x86_64-Linux
s Then start that Singular file in the following form: Code: ./Singular -v
You should see detailed information, such as: Code: Singular for x86_64-Linux version 3-1-6 (3160) Jsan 28 2013 07:07:08 with factory(@(#) factoryVersion = 3.echo $LD_LIBRARY_PATH1.6),libfac(3.1.6,December 2012), GMP(5.0),NTL(5.5.2),64bit,static readline,Plural,fan/cone,DBM, dynamic modules,OM_CHECK=0,OM_TRACK=0,random=1364915111
Observe, that this Singular-3-1-6 version is built static with the readline, i.e. it is not trying to load the shared object libreadline.[b]so./b].
Please check whether your are calling indeed the x86.static version.
To do so, proceed as follows. Change to the directory where you have untared the tar.gz file e.g. [code] cd /tmp/Singular/3-1-6/x86_64-Linux [/code]s Then start that Singular file in the following form: [code] ./Singular -v [/code] You should see detailed information, such as: [code] Singular for x86_64-Linux version 3-1-6 (3160) Jsan 28 2013 07:07:08 with factory(@(#) factoryVersion = 3.echo $LD_LIBRARY_PATH1.6),libfac(3.1.6,December 2012), GMP(5.0),NTL(5.5.2),64bit,static readline,Plural,fan/cone,DBM, dynamic modules,OM_CHECK=0,OM_TRACK=0,random=1364915111 [/code] Observe, that this Singular-3-1-6 version is built [b]static[/b] with the [b]readline[/b], i.e. it is not trying to load the [b]s[/b]hared [b]o[/b]bject libreadline.[b]so./b].
|
|
|
|
Posted: Tue Apr 02, 2013 5:25 pm |
|
|
|
|
|
Post subject: |
Re: libreadline error |
|
|
Sorry for the delayed reply, but it is not working. Code: vinay@vinay-pc:~/Code $> echo $LD_LIBRARY_PATH /home/vinay.wagh/LIB_READLINE/ vinay@vinay-pc:~/Code $> l `echo $LD_LIBRARY_PATH` total 4 lrwxrwxrwx 1 vinay.wagh fac 25 Mar 19 10:31 libreadline.so.6 -> /usr/lib/libreadline.so.4 vinay@vinay-pc:~/Code $>
When I try to run Singular, I get the same message as earlier: Code: Singular: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
VInay
Sorry for the delayed reply, but it is not working.
[code]vinay@vinay-pc:~/Code $> echo $LD_LIBRARY_PATH /home/vinay.wagh/LIB_READLINE/ vinay@vinay-pc:~/Code $> l `echo $LD_LIBRARY_PATH` total 4 lrwxrwxrwx 1 vinay.wagh fac 25 Mar 19 10:31 libreadline.so.6 -> /usr/lib/libreadline.so.4 vinay@vinay-pc:~/Code $> [/code]
When I try to run Singular, I get the same message as earlier: [code]Singular: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory [/code]
VInay
|
|
|
|
Posted: Tue Apr 02, 2013 1:21 pm |
|
|
|
|
|
Post subject: |
Re: libreadline error |
|
|
Singular-3-1-6-IA64-Linux-static.tar.gz. is for itanium CPUs. Install Singular-3-1-6-x86_64-Linux-static.tar.gz for a static version for a x86_64 (amd64) CPU. If you want to fix the dynamic version (not recommend, see: man ld.so), put a copy or a link to some readline version (version 4 to 7 should work) into a separate directory and add it to LD_LIBRARY_PATH, for example: Code: mkdir /home/vinay/lib ln -s /usr/lib/libreadline.so.4 /home/vinay/lib/libreadline.so.6 export LD_LIBRARY_PATH=/home/vinay/lib Singular
Singular-3-1-6-IA64-Linux-static.tar.gz. is for itanium CPUs. Install Singular-3-1-6-x86_64-Linux-static.tar.gz for a static version for a x86_64 (amd64) CPU. If you want to fix the dynamic version (not recommend, see: man ld.so), put a copy or a link to some readline version (version 4 to 7 should work) into a separate directory and add it to LD_LIBRARY_PATH, for example: [code]mkdir /home/vinay/lib ln -s /usr/lib/libreadline.so.4 /home/vinay/lib/libreadline.so.6 export LD_LIBRARY_PATH=/home/vinay/lib Singular[/code]
|
|
|
|
Posted: Mon Mar 18, 2013 6:45 pm |
|
|
|
|
|
Post subject: |
Re: libreadline error |
|
|
Following the instructions on http://www.singular.uni-kl.de/index.php/singular-download/109.html, I downloaded Code: Singular-3-1-6-x86_64-Linux.tar.gz Singular-3-1-6-share.tar.gz
Following instructions at the end of the page (although they are not applicable to my system): Code: For ix86-Linux systems: Due to some incompatibilities of shared libraries, the start-up of Singular might fail with messages like Can not find shared library ... For DEBIAN systems, try to do ln -s /usr/lib/libncurses.so /usr/lib/libncurses.so.4. If this fails (and on other systems) download and install Singular-3-x-x-ix86-Linux-static.tar.gz.
I also installed Singular-3-1-6-IA64-Linux-static.tar.gz. However the error is persistent. VInay
Following the instructions on [url]http://www.singular.uni-kl.de/index.php/singular-download/109.html[/url], I downloaded
[code]Singular-3-1-6-x86_64-Linux.tar.gz Singular-3-1-6-share.tar.gz [/code]
Following instructions at the end of the page (although they are not applicable to my system): [code] For ix86-Linux systems: Due to some incompatibilities of shared libraries, the start-up of Singular might fail with messages like Can not find shared library ... For DEBIAN systems, try to do ln -s /usr/lib/libncurses.so /usr/lib/libncurses.so.4. If this fails (and on other systems) download and install Singular-3-x-x-ix86-Linux-static.tar.gz. [/code] I also installed [b]Singular-3-1-6-IA64-Linux-static.tar.gz[/b].
However the error is persistent.
VInay
|
|
|
|
Posted: Sun Mar 17, 2013 5:14 am |
|
|
|
|
|
Post subject: |
Re: libreadline error |
|
|
Did you download Singular-3-1-6-x86_64-Linux.tar.gz or Singular-3-1-6-x86_64-Linux-static.tar.gz ?
Try the static version.
Did you download Singular-3-1-6-x86_64-Linux.tar.gz or Singular-3-1-6-x86_64-Linux-static.tar.gz ?
Try the static version.
|
|
|
|
Posted: Thu Mar 14, 2013 3:51 pm |
|
|
|
|
|
Post subject: |
libreadline error |
|
|
I was trying to install Singular-3-1-6 on a server using tar.gz files. I do not have a root access on this server. (I cannot even compile the code on this server.) Apparently it seems the server does not have libreadline.so.6 installed and the administers refuse to do so. The error I am getting is Code: Singular: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
The current versions of libreadline installed are: Code: vinay.wagh@master:~/ $> locate libreadline.so /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.4.3 /usr/lib64/libreadline.so.4 /usr/lib64/libreadline.so /usr/lib64/libreadline.so.4.3
Actually all of them link to /usr/lib64/libreadline.so.4.3. So is there any other way? e.g. If I create a link to the above lib somewhere in my homedir and pass that path to Singular? Or download copy libreadlin.so.6 somewhere in my homedir? The details of the system are: Code: vinay.wagh@master:~ $> uname -a Linux master 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux v Thanks VInay
I was trying to install Singular-3-1-6 on a server using tar.gz files. I do not have a root access on this server. (I cannot even compile the code on this server.)
Apparently it seems the server does not have [b]libreadline.so.6[/b] installed and the administers refuse to do so. The error I am getting is
[code]Singular: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory [/code] The current versions of libreadline installed are: [code] vinay.wagh@master:~/ $> locate libreadline.so /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.4.3 /usr/lib64/libreadline.so.4 /usr/lib64/libreadline.so /usr/lib64/libreadline.so.4.3 [/code] Actually all of them link to [b]/usr/lib64/libreadline.so.4.3[/b].
So is there any other way? e.g. If I create a link to the above lib somewhere in my homedir and pass that path to Singular?
Or download copy libreadlin.so.6 somewhere in my homedir?
The details of the system are: [code]vinay.wagh@master:~ $> uname -a Linux master 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux v[/code]
Thanks
VInay
|
|
|
|
Posted: Thu Mar 14, 2013 1:39 pm |
|
|
|
|
|
It is currently Fri May 13, 2022 11:05 am
|
|