We cannot make that exact change because it does not even work on Windows.<br><br><div>There are not any ".dll.5.2" files on Windows, there are just ".dll" files.</div><div><br></div><div><br><div class="gmail_quote">
On Wed, Oct 22, 2008 at 12:55 PM, Denis Barbier <span dir="ltr"><<a href="mailto:bouzim@gmail.com">bouzim@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On 2008/10/22 Sebastien BARRE wrote:<br>
> At 10/22/2008 02:23 AM, Denis Barbier wrote:<br>
>><br>
>> On 2008/10/21 Sebastien BARRE wrote:<br>
>> > At 10/17/2008 02:03 PM, Adam Williamson wrote:<br>
>> [...]<br>
>> >> That patch also does something else useful: it makes it look for<br>
>> >> libvtkFOO.so.5.2<br>
>> >> rather than<br>
>> >> libvtkFOO.so<br>
>> >> on Mandriva (and probably other distributions), the unversioned .so<br>
>> >> files usually go in -devel packages.<br>
>> ><br>
>> > We can't change that behavior either for backward compatibility reasons.<br>
>><br>
>> Out of curiosity, how can this change break backward compatibility?<br>
><br>
> If doing a "package require vtk" is looking at the unversioned ones, and you<br>
> make it look at the versioned ones directly, then you just broke backward<br>
> compatibility for people who rely on that behavior.<br>
<br>
</div>Adam's patch is:<br>
- set libFile [file join $libPath "$libPrefix$libName$libExt"]<br>
+ set libFile [file join $libPath "$libPrefix$libName$libExt$libVer"]<br>
if {[catch "cd {$libPath}; load {$libFile}" errorMessage]} {<br>
$libFile is used only to give shared library name.<br>
<br>
When libvtkFOO.so is symlinked to libvtkFOO.so.5.2, I can hardly<br>
see how someone can detect this change, except if library name<br>
is different for some arch. Such a breakage will be caught by<br>
your dashboard, won't it? So what about making this change<br>
and see if something breaks, does it sound reasonable?<br>
<font color="#888888"><br>
Denis<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>