#13912: Let iconv build on Cygwin without installing Cygwin libiconv package
-------------------------------------+--------------------------------------
Reporter: jpflori | Owner: tbd
Type: defect | Status: closed
Priority: minor | Milestone: sage-5.7
Component: packages | Resolution: fixed
Keywords: cygwin iconv spkg | Work issues:
Report Upstream: N/A | Reviewers: Jeroen Demeyer
Authors: Jean-Pierre Flori | Merged in: sage-5.7.beta0
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by jpflori):
Replying to [comment:12 dimpase]:
> I'd like to reopen this ticket. The same issue as here applies to the
rest of Sage packages that create dlls with names clashing with dlls from
Cygwin packages (or perhaps other ones). Creating a dll which has the same
name as a Cygwin dll is asking for '''big''' trouble.
> You might read on for details
[http://cygwin.com/ml/cygwin/2000-08/msg01128.html here in this long
thread].
>
> In a nutshell, Windows is so dump that an application request to load a
dll with a certain name is handled by searching certain sub-directories,
in certain order. (Some of these subdirectories are actually specifies in
Windows registry). In some cases the order of sub-directores in the PATH
matters. I.e. when you link to a dlls, no full path information on the dll
is stored.
> All you have is the PATH, registry entries, and few other things like
current directory, to play with.
>
I'm aware of this problem, but I think you're being a little dramatic
here.
In some cases it is indeed really tricky, e.g. the ecl.dll of the Sage
library resolved linking to the ecl library (whose dll name was ecl.dll
before some ticket here) to ... itself.
That's indeed really dumb and in such a case I don't think tweaking PATH
can change anything because the current directory will always come first.
And I think that on linux we still have libraries without RPATH so that
LD_LIBRARY_PATH is used and that's not that worse than the situation on
windows.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13912#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.