[MacPorts] #24807: llvm installs libraries with install_name not set to final path

MacPorts noreply at macports.org
Thu May 6 07:43:39 PDT 2010


#24807: llvm installs libraries with install_name not set to final path
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  erickt@…           
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  1.8.2              
 Keywords:                           |        Port:  llvm               
-------------------------------------+--------------------------------------
 llvm installs some libraries that are linked to their location in the
 build directory instead of their final install location. This means
 programs trying to use those libraries fail unless the user sets a
 variable like DYLD_FALLBACK_LIBRARY_PATH, which we want to avoid.

 On Tiger:

 {{{
 otool -L /opt/local/lib/libLTO.dylib
 /opt/local/lib/libLTO.dylib:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build
 /Release-Asserts/lib/libLTO.dylib (compatibility version 0.0.0, current
 version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.3.11)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.4.0)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
 }}}

 On Snow Leopard:

 {{{
 $ otool -L /opt/local/lib/libLLVMHello.dylib
 /opt/local/lib/libprofile_rt.dylib
 /opt/local/lib/libLLVMHello.dylib:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build
 /Release-Asserts/lib/LLVMHello.dylib (compatibility version 0.0.0, current
 version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.0.0)
         /usr/lib/libffi.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.9.0)
 /opt/local/lib/libprofile_rt.dylib:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build
 /Release-Asserts/lib/profile_rt.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.0.0)
         /usr/lib/libffi.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.9.0)
 }}}

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


More information about the macports-tickets mailing list