Opened 13 years ago
Closed 13 years ago
#31503 closed update (worksforme)
updated cdo@1.5.2 cannot link to netcdf.4.dylib
Reported by: | fischcheng@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | cdo, netcdf | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | cdo |
Description
I just updated my netcdf library to version 4.1.3 and cleaned all the old versions of netcdf. Then I tried to use CDO but all in vain, since it cannot find the netcdf.4.dylib library anymore.
I tried the solution suggested in Ticket #24063, After uninstalled all netcdf version and then installed a netCDF without any variants, finally the variant i need. I still couldn't find the netcdf.4.dylib, instead, there is a netcdf.7.dylib in /opt/local/lib directory.
And the selfupdate, and forced upgrade the port of CDO are useless as well. How can I install a correct netcdf.4.dylib, or simply find an older version of netcdf? By the well, i cannot find older netcdf on MacPorts anymore!!
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | ports-depending-on-netcdf added |
---|
comment:2 follow-up: 3 Changed 13 years ago by tenomoto (Takeshi Enomoto)
comment:3 Changed 13 years ago by fischcheng@…
Thx for your kind reply, I rebuilt the whole MacPorts last night, and now both of netcdf and cdo works perfectly, though i still couldn't quiet get the point, how did it happen.
comment:4 Changed 13 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
That's strange... You shouldn't need an older version of netcdf; rather, all programs that use netcdf need to be rebuilt with the newer netcdf library.
When netcdf's library version was increased to 7 in r80310 as a consequence of updating the program version to 4.1.3, all ports that use netcdf should have simultaneously had their revisions increased. Since that wasn't done at that time, it should be done now. Takeshi, can you do that, for all ports that haven't already had their version or revision increased for other reasons since then? I'll attach a list of ports that depend on netcdf.
However, cdo was updated to 1.5.2 in r83073, after netcdf was updated to 4.1.3, so that should have already taken care of rebuilding cdo with netcdf library version 7. That is, it should not have been possible for you to get cdo 1.5.2 installed without already having netcdf libraryn version7.
Try forcibly rebuilding cdo, and selfupdate beforehand just to make sure your ports definitions are up to date: