Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - libreadline error
Author Message
  Post subject:  Re: libreadline error  Reply with quote
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
Post Posted: Wed Apr 03, 2013 1:38 pm
  Post subject:  Re: libreadline error  Reply with quote
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].
Post Posted: Tue Apr 02, 2013 5:25 pm
  Post subject:  Re: libreadline error  Reply with quote
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
Post Posted: Tue Apr 02, 2013 1:21 pm
  Post subject:  Re: libreadline error  Reply with quote
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
Post Posted: Mon Mar 18, 2013 6:45 pm
  Post subject:  Re: libreadline error  Reply with quote
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
Post Posted: Sun Mar 17, 2013 5:14 am
  Post subject:  Re: libreadline error  Reply with quote
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.
Post Posted: Thu Mar 14, 2013 3:51 pm
  Post subject:  libreadline error  Reply with quote
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
Post Posted: Thu Mar 14, 2013 1:39 pm


It is currently Fri May 13, 2022 11:05 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group