[MacPorts] #24063: gmt +gshhs fails library load

MacPorts noreply at macports.org
Mon Mar 15 22:48:36 PDT 2010


#24063: gmt +gshhs fails library load
--------------------------------------+-------------------------------------
 Reporter:  barry.j.mcinnes@…         |       Owner:  takeshi@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  1.8.2               
 Keywords:                            |        Port:  gmt                 
--------------------------------------+-------------------------------------
Changes (by jmr@…):

 * cc: takeshi@… (removed)
  * owner:  macports-tickets@… => takeshi@…
  * milestone:  MacPorts 1.8.3 =>
  * keywords:  gmt =>
  * port:  => gmt


Old description:

> 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#
> --

New description:

 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#
 }}}

--

Comment:

 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/24063#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list