Opened 15 years ago
Closed 15 years ago
#24063 closed defect (fixed)
gmt +gshhs fails library load
Reported by: | basmac | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | gmt |
Description (last modified by jmroot (Joshua Root))
When I install gmt with no variants it links to an available netcdf. When I use +gshhs it thinks it needs to load /opt/local/lib/libnetcdf.4.dylib, which is not in macports.
/opt/local/bin/grdimage: /opt/local/lib/libgmt.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libgmtps.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libpsl.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libnetcdf.4.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) [mac27:/mac_home/jliang] bmcinnes% /opt/local/bin/grdimage dyld: Library not loaded: /opt/local/lib/libnetcdf.4.dylib Referenced from: /opt/local/bin/grdimage Reason: image not found Trace/BPT trap bash-3.2# port install gmt ---> Computing dependencies for gmt ---> Fetching gmt ---> Verifying checksum(s) for gmt ---> Extracting gmt ---> Configuring gmt ---> Building gmt ---> Staging gmt into destroot ---> Installing gmt @4.5.1_1 ---> Deactivating gmt @4.5.1_1+gshhs ---> Activating gmt @4.5.1_1 ---> Cleaning gmt bash-3.2# ls -l /opt/local/bin/grdimage -rwxr-xr-x 2 root admin 26356 Mar 15 12:47 /opt/local/bin/grdimage bash-3.2# otool -L /opt/local/bin/grdimage /opt/local/bin/grdimage: /opt/local/lib/libgmt.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libgmtps.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libpsl.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libnetcdf.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) bash-3.2# port install gmt +gshhs ---> Computing dependencies for gmt ---> Deactivating gmt @4.5.1_1 ---> Activating gmt @4.5.1_1+gshhs ---> Cleaning gmt bash-3.2# otool -L /opt/local/bin/grdimage /opt/local/bin/grdimage: /opt/local/lib/libgmt.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libgmtps.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libpsl.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libnetcdf.4.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) bash-3.2# port install gmt ---> Computing dependencies for gmt ---> Deactivating gmt @4.5.1_1+gshhs ---> Activating gmt @4.5.1_1 ---> Cleaning gmt bash-3.2# otool -L /opt/local/bin/grdimage /opt/local/bin/grdimage: /opt/local/lib/libgmt.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libgmtps.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libpsl.4.dylib (compatibility version 4.0.0, current version 4.5.1) /opt/local/lib/libnetcdf.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) bash-3.2#
Change History (4)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Cc: | takeshi@… removed |
---|---|
Description: | modified (diff) |
Keywords: | gmt removed |
Milestone: | MacPorts 1.8.3 |
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | gmt added |
comment:2 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → invalid |
---|---|
Status: | new → closed |
You must have installed netcdf (libnetcdf.4.dylib) without variants and gmt. Then you replaced netcdf with netcdf +netcdf4 (libnetcdf.6.dylib). The netcdf4 variants can be used at the price of breaking ports that do not yet assume netcdf-4 features. gmt is one of such ports.
comment:3 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in r65572.
Note: See
TracTickets for help on using
tickets.
As per the ticket guidelines, please don't set the milestone field, and please remember to preview and use WikiFormatting and fill in the Port field.