[MacPorts] #22493: Incompatible library version

MacPorts noreply at macports.org
Mon May 3 17:40:03 PDT 2010


#22493: Incompatible library version
-------------------------------------------+--------------------------------
 Reporter:  vash_the__typhoon@…            |       Owner:  ryandesign@…           
     Type:  defect                         |      Status:  new                    
 Priority:  Normal                         |   Milestone:                         
Component:  ports                          |     Version:  1.8.1                  
 Keywords:                                 |        Port:  libiconv               
-------------------------------------------+--------------------------------

Comment(by vash_the__typhoon@…):

 Replying to [comment:14 ryandesign@…]:
 > I cannot recommend replacing Apple software in /usr/lib with MacPorts
 software; that's usually a bad idea.
 >
 > dyld does not arbitrarily decide to take libraries from /usr/lib instead
 of from /opt/local/lib, unless perhaps you've told it to do so by setting
 the LD_LIBRARY_PATH or DYLD_LIBRARY_PATH environment variables?  If you
 have, that could certainly account for the behavior you see.


 Hi, glad that people are still reading/thinking about this problem! [[BR]]
 [[BR]]
 Yes, I do set the LD and DYLD Library paths in my .profile, I've needed to
 do so in the past for other programs etc..[[BR]]
 [[BR]]
 In my .profile, I have the following lines (in this order) [[BR]][[BR]]
 #For Macports [[BR]]
 export PATH=/opt/local/bin:/opt/local/sbin:$PATH [[BR]]
 export MANPATH=/opt/local/share/man:$MANPATH [[BR]]
 export LD_LIBRARY_PATH=/opt/local/lib:$LD_LIBRARY_PATH [[BR]]
 ...[[BR]]
 export
 LD_LIBRARY_PATH=./:/usr/lib:${HESSROOT}/lib:/usr/local/lib:${ROOTSYS}/lib:$LD_LIBRARY_PATH
 [[BR]]
 export
 DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:./:/usr/lib:${HESSROOT}/lib:/usr/local/lib:${ROOTSYS}/lib
 [[BR]]
 [[BR]]

 If need be, I can try and re-order some of these and see if anything
 works. Could you give some suggestions?
 [[BR]][[BR]]
 Cheers,[[BR]]
 B

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


More information about the macports-tickets mailing list