From: Christopher Schwan <cschwan@students.uni-mainz.de>
To: <gentoo-science@lists.gentoo.org>
Subject: Re: [gentoo-science] sage-4.3.5-r1 && sage-core
Date: Mon, 19 Apr 2010 10:52:54 +0200 [thread overview]
Message-ID: <201004191052.54765.cschwan@students.uni-mainz.de> (raw)
In-Reply-To: <201004191518.22028.f.r.bissey@massey.ac.nz>
On Monday 19 April 2010 05:18:21 François Bissey wrote:
> > Hi Steve,
> >
> > On Sunday 18 April 2010 21:10:17 Steven Trogdon wrote:
> > > Christopher,
> > >
> > >
> > >
> > > I've finally gotten around to trying the changes and a clean emerge of
> > > everything installs as it should. Here a revdep-rebuild reveals that
> > > libsingular.so can't be found. The proposed resolution is to re-emerge
> > > sage-core which, of course, doesn't resolve the issue. What's the
> > > procedure to update the ld cache when libraries like libsingular.so are
> > > not in the "standard" location? Should something be done in
> > > sage-singular that doesn't compromise things?
> >
> > I noticed the same behavior and looked at /etc/ld.so.cache which pointed
> > to /etc/env.d/... - so the gentoo way of doing this would be to add a
> > file which contains LDPATH="/opt/sage/local/lib". Though I did not test
> > it, it should work and I will add this file tomorrow.
>
> Hi guys,
>
> I don't like that solution at all. What will happen if you have system wide
> singular and sage-singular?
> If you add this file there is a good chance that someone wanting to use
> the system provided singular will end up using sage-singular.
Yes, thats right! - I did not think of that.
>
> Just for the purpose of testing for side effects, I installed
> singular-3.1.1. revdep-rebuild didn't pick up on sage-core after that.
> Probably because libsingular lacks an soname and is completely
> unversioned.
>
> No. sage-env takes care of telling sage where to look. There is no real
> perfect solution so long as we have ship sage-singular.
> For now I would put a file in /etc/revdep-rebuild masking the offending
> libraries.
> 50sage-core:
> #Those files look for a version of libsingular that will be located through
> # LD_LIBRARY_PATH at run-time.
> LD_LIBRARY_MASK="lib1.so lib2.so lib3.so"
Another option (read: hack) would be to create a separate directory containing
a symlink to libsingular.so (this is the only library which is reported by
revdep-rebuild) and to point revdep-rebuild to this directory. Of course, this
is not the best way of getting rid of this error.
In my opinion, the best "solution" would be to print out a warning/info after
installing sage-core which basically says revdep-rebuild reports false
positives and just wait for the Sage people upgrading to a new release of
Singular (see http://trac.sagemath.org/sage_trac/ticket/8059 and
http://trac.sagemath.org/sage_trac/ticket/8228).
>
> -----
> Of course that means that revdep-rebuild cannot pick up the fact that
> they are broken. Which of course it may not be able to do anyway because
> of the lack of versioning.
> On the positive side a change in sage-singular will always coincide with
> a change of sage-core so there shouldn't be any trouble.
>
> Francois
Christopher
next prev parent reply other threads:[~2010-04-19 9:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-18 9:02 [gentoo-science] sage-4.3.5-r1 && sage-core Christopher Schwan
2010-04-18 19:10 ` Steven Trogdon
2010-04-18 20:28 ` Christopher Schwan
2010-04-19 3:18 ` François Bissey
2010-04-19 8:52 ` Christopher Schwan [this message]
2010-04-19 9:13 ` François Bissey
2010-04-19 10:36 ` François Bissey
2010-04-19 11:04 ` Christopher Schwan
-- strict thread matches above, loose matches on Subject: below --
2010-04-18 5:32 Steven Trogdon
2010-04-18 7:46 ` François Bissey
2010-04-18 7:51 ` François Bissey
2010-04-18 7:58 ` François Bissey
2010-04-18 8:04 ` Christopher Schwan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201004191052.54765.cschwan@students.uni-mainz.de \
--to=cschwan@students.uni-mainz.de \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox