<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="https://trac.macports.org/wiki/howto/InstallingOlderPort" class="">https://trac.macports.org/wiki/howto/InstallingOlderPort</a><br class=""><div class=""><br class=""></div><div class="">I think the bunch of hex you want after the git checkout command for 1.3.0 of shapelib is <span style="caret-color: rgb(68, 77, 86); color: rgb(68, 77, 86); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; text-align: right; white-space: nowrap; background-color: rgb(255, 255, 255);" class="">8287186a418d8e0f0fcfb009b2512c1c386b75e4</span></div><div class=""><div style="text-align: right;" class=""><font color="#444d56" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace" class=""><span style="caret-color: rgb(68, 77, 86); white-space: nowrap; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div>But you're probably better off updating your code, or maybe even just your build (i.e. relink...but I don't know if 1.5.0 is compatible with 1.3.0, although you'd think if the first part didn't change, it should be) to link with the current version of the library. If you're careful about how you do that, even if it doesn't work out, you should be able to put it back so you're no worse off than you are now.</div><div><br class=""></div><div>I've done that sort of thing (build older port) once or twice, but only when the port had a problem that broke other ports, and I didn't want to wait for a fix.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 5, 2020, at 22:09, list_email--- via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I am having trouble linking ploplot resulting in this:<br class=""><br class="">dyld: Library not loaded: /opt/local/lib/libshp.1.3.0.dylib<br class="">  Referenced from: /usr/local/plplot/lib//libplplot.13.dylib<br class="">  Reason: image not found<br class=""><br class="">I believe this is the shapelib library and that it is used by plplot but I now have a newer version:<br class=""><br class="">$ port installed shapelib<br class="">The following ports are currently installed:<br class="">  shapelib @1.5.0_0 (active)<br class=""><br class="">So here’s the problem. Some time back I wrote the Ada bindings to PLplot but there hasn’t been anything to contribute for a long time so this work has laid quiescent during the interim even though I use PLplot in my own work, apart from developing the bindings. My PLplot build is not through macports but my personal build from source that I made as a developer. I’m not very good at mucking around with these things and I don’t want to disturb (that is, re-build) that old build which works fine. I’m basically afraid that if I touch anything that I’ll have a couple days of grunt work to fix it.<br class=""><br class="">How do I revert the macports installation of shapelib to libshp.1.3.0 so that I can link against it?<br class=""><br class="">Thanks,<br class=""><br class="">Jerry<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>