[MacPorts] #32511: openjpeg @1.4-r697 openjpeg/ffmpeg/libjasper symbol collision

MacPorts noreply at macports.org
Sun Dec 11 20:29:18 PST 2011


#32511: openjpeg @1.4-r697  openjpeg/ffmpeg/libjasper symbol collision
-----------------------------------+----------------------------------------
 Reporter:  marin.saric@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:                         |        Port:  openjpeg jasper ffmpeg               
-----------------------------------+----------------------------------------

Comment(by marin.saric@…):

 I stumbled upon this problem during static linking and didn't even think
 of Apple's clever two-level namespace scheme. Considering Qt4 binaries are
 still built with -flat_namespace, I am guessing the problem can
 resurface..

 Also there's no two-level namespace equivalent during static linking.

 For example, when trying to link opencv statically you run into this:
 opencv links against jasper and ffmpeg, ffmpeg links against openjpeg and
 boom you have duplicate symbols.

 However, the symbol collision is an accident. A private function got
 exported under a common name..

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


More information about the macports-tickets mailing list