<div dir="ltr">Hi Greg,<div><br></div><div>I'm not following what you're suggesting here.<div><br></div><div>The plugin I'm building is for another vendor's software and they don't use GDAL or PROJ already in their main program. But they do use (an older version of ) libcurl. Our normal PROJ and GDAL depend on an up-to-date libcurl.</div><div><br></div><div>I've called my minimal (w/o curl) versions of PROJ and GDAL "proj_9_3-minimal.dll" and "gdal-minimal.dll."</div><div><br></div><div>We haven't had a problem with the approach I've described. What problem am I flirting with here, or what should I do differently? Sorry to be dense!</div></div><div><br></div><div>Thanks a lot,</div><div><br></div><div>carl</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2024 at 9:07 AM Greg Troxel via PROJ <<a href="mailto:proj@lists.osgeo.org">proj@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Carl Godkin via PROJ <<a href="mailto:proj@lists.osgeo.org" target="_blank">proj@lists.osgeo.org</a>> writes:<br>
<br>
> On Tue, Jun 25, 2024 at 7:27 AM Javier Jimenez Shaw <<a href="mailto:j1@jimenezshaw.com" target="_blank">j1@jimenezshaw.com</a>><br>
> wrote:<br>
><br>
>> One question<br>
>><br>
>> Are you linking the same GDAL (or final binary) with both versions of<br>
>> PROJ? If that is the case, I think it would be undefined behaviour.<br>
>><br>
>><br>
>>><br>
>>><br>
> No, I am not linking anything to both versions of PROJ.<br>
><br>
> Our main apps link to both GDAL and PROJ (i.e., the "full" versions of<br>
> both).<br>
><br>
> This plugin links to GDAL (the minimal one) and PROJ (minimal also, and the<br>
> version the minimal GDAL was built with).<br>
<br>
Plugins are generally dynamically loaded, so there really needs to be<br>
library compat with the host/main program.<br>
<br>
I would recommend having an entirely separate prefix for older/different<br>
versions, and to build everything within each prefix, not crossing.<br>
<br>
> use.<br>
_______________________________________________<br>
PROJ mailing list<br>
<a href="mailto:PROJ@lists.osgeo.org" target="_blank">PROJ@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/proj</a><br>
</blockquote></div>