How to fix "broken ports"?

Marko Käning MK-MacPorts at techno.ms
Wed May 23 21:47:53 PDT 2012


On May 24, 2012, at 12:59 AM, Ryan Schmidt wrote:

> 
> On May 22, 2012, at 23:55, Marko Käning wrote:
> 
>> But well, you are right, in libphonon4.dylib there is the path also without the prefix:
>> ---
>> [ MP-devel ] :~ marko$ otool -L /opt/macports-test/lib/libphonon.4.dylib
>> /opt/macports-test/lib/libphonon.4.dylib:
>> 	lib/libphonon.4.dylib (compatibility version 4.0.0, current version 4.6.0)
>> 
> 
> For the record, that's not how it is on my system. On my system it appears to be made properly:
> 
> $ otool -L /opt/local/lib/libphonon.4.dylib
> /opt/local/lib/libphonon.4.dylib:
> 	/opt/local/lib/libphonon.4.dylib (compatibility version 4.4.0, current version 4.4.2)

I know, Ryan, since with 4.6.0 I was using a newer version than the one currently on MacPorts.

> install_name_tool is really a last resort kind of thing. You should be able to specify the library's install_name at link time (with the -install_name parameter), and indeed on my system that's presumably already happening; not sure why it's not on yours but perhaps a main.log file from the phonon installation would be illuminating.
In the meantime Michael helped me out with a appropriately modified Portfile which takes care of this issue.
I guess he'll soon update phonon in conjunction with qt4-mac.


More information about the macports-dev mailing list