Need help reverting to older library
Richard L. Hamilton
rlhamil at smart.net
Sun Dec 6 03:19:08 UTC 2020
https://trac.macports.org/wiki/howto/InstallingOlderPort <https://trac.macports.org/wiki/howto/InstallingOlderPort>
I think the bunch of hex you want after the git checkout command for 1.3.0 of shapelib is 8287186a418d8e0f0fcfb009b2512c1c386b75e4
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.
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.
> On Dec 5, 2020, at 22:09, list_email--- via macports-users <macports-users at lists.macports.org> wrote:
>
> I am having trouble linking ploplot resulting in this:
>
> dyld: Library not loaded: /opt/local/lib/libshp.1.3.0.dylib
> Referenced from: /usr/local/plplot/lib//libplplot.13.dylib
> Reason: image not found
>
> I believe this is the shapelib library and that it is used by plplot but I now have a newer version:
>
> $ port installed shapelib
> The following ports are currently installed:
> shapelib @1.5.0_0 (active)
>
> 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.
>
> How do I revert the macports installation of shapelib to libshp.1.3.0 so that I can link against it?
>
> Thanks,
>
> Jerry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20201205/e3601a3c/attachment.htm>
More information about the macports-users
mailing list