SoQt linking error on Mavericks (10.9.3)

Joshua Root jmr at macports.org
Fri Jun 27 07:22:01 PDT 2014


On 2014-6-27 23:30 , Mark Brethen wrote:
> 
> On Jun 27, 2014, at 12:45 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
>>
>> On Jun 27, 2014, at 12:38 AM, Joshua Root wrote:
>>
>>> On 2014-6-27 14:03 , Mark Brethen wrote:
>>>> After installing Coin, I get the following error with SoQt:
>>>>
>>>> --->  Found 1 broken file(s), matching files to ports
>>>>
>>>>
>>>> Error: Port SoQt is still broken after rebuilding it more than 3 times.
>>>> Error: Please run port -d -y rev-upgrade and use the output to report a bug.
>>>>
>>>> Running port -d -y rev-upgrade gives:
>>>>
>>>> Could not open Inventor.framework/Versions/C/Inventor: Error opening or reading file (referenced from /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib)
>>>> DEBUG: Marking /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib as broken
>>>> --->  Found 1 broken file(s), matching files to ports
>>>
>>> "Inventor.framework/Versions/C/Inventor" is a relative path and so not a
>>> suitable install_name.
>>
>> Correct. And that's yet another bug in the Coin port's +aqua variant that needs to be fixed.
>>
>> SoQt's frameworks' install_names are wrong too, but I'm not sure if that's because Coin's are wrong or if it's a separately-fixable instance of the same problem.
>>
>>
>>
> 
> The Inventor install_name originates with Coin: 'Since Coin is an Open Inventor implementation, the framework is named "Inventor", not Coin.' (Coin/Readme.MacOS)
> 
> However, I did not experience any linking errors when I installed Coin as a framework. SoQt is just a bridge between Qt and Coin. 
> 
> So, to clarify, are you saying this is just a flag that is raised because there isn't a port named 'Inventor'?

No, we're saying the install_name needs to be an absolute path, not a
relative one.

- Josh


More information about the macports-dev mailing list