On Feb 3, 9:36 am, Alexander Dreyer
<jan.alexander.dre...@googlemail.com> wrote:
> > > Hi, I'm having the same error with 3.2.3 (on Gentoo x86_64). It seems
> > > to me that this '-Wl,-soname,libpolybori-0.5.0.so.0' is in the form in
> > > which options are given to the compiler in order to pass to the
> > > linker, but since this is running the linker directly it should just
> > > be -soname libpolybori-0.5.0.so.0. I grep out the line in the install
> > > log and change that part it seems to build the .so. I just don't know
> > > where to change "sonameprefix" such that it doesn't get changed back
> > > as soon as I run make. What constructs the SConstruct?
>
> one could set a custom SONAMEPREFIX in custom.py, which is at the very
> same position as:
>
> > It is in the polybori-0.5rc.p6 .spkg in polybori-0.5rc.p6/patches/
> > SConstruct
>
> But, indeed we need a better default setting for the sonameprefix, so
> I prepare an according patch for the SConstruct file. 
> See:http://polybori.cvs.sourceforge.net/viewvcpolybori/PolyBoRi/SConstru...

Ok, so I extracted the .spkg of polybori (having worked out that it
was just a bzipped tarball), changed SConstruct (with sonameprefix as
'-Wl,-soname -Wl,'), and repackaged it, and it didn't work:

ld -o polybori/libpolybori-0.5.1.so.0.0.0 -s -shared -Wl,-soname -
Wl,libpolybori-0.5.1.so.0 Cudd/obj/cuddObj.os Cudd/util/
cpu_stats.os ...
ld: unrecognized option '-Wl,-soname'

So I changed the SConstruct file in the package to set the
sonameprefix to be '-soname ' and it built polybori (the .so is in
sage-3.2.3/local/lib) and has now moved on to build sage itself.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to