Re: RFC: readline6 package

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.core
Organization Fink Core Team
Message-ID <[email protected]>
On 6/14/12 2:08 PM, Max Horn wrote:
> Hi there,
> 
> so I just noticed our readline package is stuck at 5.2, and so I whipped up a readline6 package for the latest version, 6.2. You can download it from here: <https://gist.github.com/2932949>.
> 
> I would like to put this into 10.4 and 10.7; at the same time, I'd update readline5 to properly conflict with readline6, too. However, I only tested this on 10.6 so far, so it would be good if people tested it on 10.5 and 10.7 (and perhaps 10.8... ;). There is some 10.5 specific code in there which I don't quite understand, so if somebody knows about that, please also take a look.
> 
> If I get no complaints within a week or so, I'll commit; earlier if I get lots of substantial ACKs ;).
> 
> 
> Cheers,
> Max

The 10.5-specific issue in readline5 was that upstream messed up the
shared libraries on that OS version through incorrect assumptions.

It looks like readline6 (with those modifications) builds OK on 10.6,
though it shares a pecularity with readline5 that the unversioned dylibs
point to the fully versioned dylibs on 10.6+:

lrwxr-xr-x root/admin        0 2012-06-15 12:57
./sw/lib/libhistory.dylib -> libhistory.6.2.dylib
lrwxr-xr-x root/admin        0 2012-06-15 12:57
./sw/lib/libreadline.dylib -> libreadline.6.2.dylib

but to the less-versioned dylibs on 10.5:
lrwxr-xr-x root/admin        0 2012-06-15 12:49
./sw/lib/libhistory.dylib -> libhistory.6.dylib
lrwxr-xr-x root/admin        0 2012-06-15 12:49
./sw/lib/libreadline.dylib -> libreadline.6.dylib

Those still point to the fully versioned dylibs, and in both cases the
install_name is the less-versioned dylib:

10.6+:
$ dpkg -L readline6-shlibs | xargs file -h | grep Mach-O | cut -d: -f1 |
xargs otool -D
/sw/lib/libhistory.6.2.dylib:
/sw/lib/libhistory.6.dylib
/sw/lib/libreadline.6.2.dylib:
/sw/lib/libreadline.6.dylib

10.5:
$ dpkg -L readline6-shlibs | xargs file -h | grep Mach-O | cut -d: -f1 |
xargs otool -D
/sw/lib/libhistory.6.2.dylib:
/sw/lib/libhistory.6.dylib
/sw/lib/libreadline.6.2.dylib:
/sw/lib/libreadline.6.dylib
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.