On 09/05/2013 13:02, leif wrote:
Rob McMahon wrote:
On 09/05/2013 07:22, leif wrote:
Rob McMahon wrote:
Solaris 10 SPARC, with libffi and libiconv installed on the system
already for other purposes. Having worked around the iconv issue
(special case for solaris in iconv*/src/src/Makefile.in, make now dies
compiling ecl with:
...
Although it is finding the installed libffi at compile time, it is not
finding it at run time ... the -L flags can't be matching the -R
flags.
I haven't had coffee yet, but if the dynamic linker picks up the
system-wide(?) libffi from some "default" directory during linking,
why doesn't the runtime linker? (Except for '.', there are no
directories outside the Sage tree explicitly specified with '-L' in
the link command, so probably something is wrong with your
[environment variable] setup. You *may* be able to add further
'-Wl,-R,...' to LDFLAGS to work around this though, without changing
any *PATH vars.)
It correctly works out the -L flags for linking, but doesn't add the
corresponding -R flags.
? So where does your libffi.so come from? (I.e., where is it
located, and which env var contains its directory, if the latter is
not one of the standard places?) (And is libffi.so.4 located in the
same place?)
I install this sort of thing in /usr/local/gnu/lib and yes, the .so*
files are in the same place. So's the .la file, but linking to this
turned out to be a mistake later when sage tried to tweak it. No
environment variables or crle settings involved, anything that uses them
gets compiled with a runpath. The same issues, and the same places
applied to building R, for libgomp.
The good news is that after creating these links, and the tweak to the
iconv Makefile, everything is now built and I'm trying a make ptestlong.
Cheers,
Rob
--
E-Mail: rob.mcma...@warwick.ac.uk PHONE: +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.