[MacPorts] #14365: Boost build does not properly symlink boost libs

MacPorts trac at macosforge.org
Sun Feb 17 13:16:44 PST 2008


#14365: Boost build does not properly symlink boost libs
----------------------------------------+-----------------------------------
 Reporter:  dane.springmeyer at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                      |      Status:  new                                  
 Priority:  High                        |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.6.0                                
 Keywords:  boost symlink libs .dylib   |  
----------------------------------------+-----------------------------------
 The Port install of Boost 1_34_1 places 208 libboost* library files in
 /opt/local/lib. For each boost library 4  .dylib files are created and
 another 8 symlinks/aliases to those dynamic libraries.

 After installing boost using macports on 10.5.2 using the workaround for
 the boost bug here:

  * Tickets: #13714

 it appears that all the symlinks created point to a screwy location. For
 example here is the output of the ls command for the libboost_filesystem:

 {{{
 springmeyer:lib spring$ ls -l libboost_filesystem*
 -rw-r--r--  2 root  admin   81996 Feb 17 10:59
 libboost_filesystem-1_34_1.a
 -rwxr-xr-x  2 root  admin   55432 Feb 17 10:59
 libboost_filesystem-1_34_1.dylib
 -rw-r--r--  2 root  admin  491252 Feb 17 10:59
 libboost_filesystem-d-1_34_1.a
 -rwxr-xr-x  2 root  admin  135880 Feb 17 10:59
 libboost_filesystem-d-1_34_1.dylib
 lrwxr-xr-x  1 root  admin     165 Feb 17 11:00 libboost_filesystem-d.a ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_filesystem-d-1_34_1.a
 lrwxr-xr-x  1 root  admin     169 Feb 17 11:00 libboost_filesystem-d.dylib
 ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_filesystem-d-1_34_1.dylib
 -rw-r--r--  2 root  admin   81996 Feb 17 10:59 libboost_filesystem-
 mt-1_34_1.a
 -rwxr-xr-x  2 root  admin   55432 Feb 17 10:59 libboost_filesystem-
 mt-1_34_1.dylib
 -rw-r--r--  2 root  admin  491252 Feb 17 10:59 libboost_filesystem-
 mt-d-1_34_1.a
 -rwxr-xr-x  2 root  admin  135960 Feb 17 10:59 libboost_filesystem-
 mt-d-1_34_1.dylib
 lrwxr-xr-x  1 root  admin     168 Feb 17 11:00 libboost_filesystem-mt-d.a
 ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib
 /libboost_filesystem-mt-d-1_34_1.a
 lrwxr-xr-x  1 root  admin     172 Feb 17 11:00 libboost_filesystem-
 mt-d.dylib ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib
 /libboost_filesystem-mt-d-1_34_1.dylib
 lrwxr-xr-x  1 root  admin     166 Feb 17 11:00 libboost_filesystem-mt.a ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib
 /libboost_filesystem-mt-1_34_1.a
 lrwxr-xr-x  1 root  admin      35 Feb 17 11:50 libboost_filesystem-
 mt.dylib -> libboost_filesystem-mt-1_34_1.dylib
 lrwxr-xr-x  1 root  admin     163 Feb 17 11:00 libboost_filesystem.a ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/destroot/opt/local/lib/libboost_filesystem-1_34_1.a
 lrwxr-xr-x  1 root  admin      35 Feb 17 11:54 libboost_filesystem.dylib
 -> libboost_filesystem-mt-1_34_1.dylib
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14365>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list