Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-26-2003, 07:22 PM   #1
wgscott
Major Leaguer
 
Join Date: Sep 2002
Posts: 350
Fixing bug in x11.app libraries

From Fink's front page:

Quote:
While Apple's X11 works just fine with existing binaries, it has a bug in the install name of the libraries that can cause some software to build incorrectly, and will break forward-compatibility with future X11 releases.

Ben Hines has created a script (available here) that you can use that will fix the install_name entries in Apple's X11 libraries, but it will not repair software you have already built against the broken libraries.

http://cvs.sourceforge.net/cgi-bin/v...ll_name_fix.pl
wgscott is offline   Reply With Quote
Old 01-26-2003, 09:49 PM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
wgscott,

Thanks for the info. From the fink-devel lists:

--------------------------

"This script changes apple's dylib install names to be libNAME.major.dylib rather than libNAME.major.minor.dylib.

Apple's X11 is improperly linked (already a known issue -- but still broken in the current beta). Libraries have an install_name that points to the *full* name of the file, instead of the compatibility name (ie, libX11.6.2.dylib instead of libX11.6.dylib) so when libX11 changes to 6.3, any libraries or binaries that linked against the old version will break.

This script edits the libraries so that they have a correct install_name".

-------------------------

The reponse from Apple via Haroon Sheikh (Manager Graphics Software, Apple Computer, Inc.) has been:

<<We are looking into this issue and hope to have it resolved in the next public release of X11ForMacOSX (no comments on when that will be).>>
sao is offline   Reply With Quote
Old 01-27-2003, 07:26 AM   #3
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
If you run the script, you should get something like this:
Code:
% sudo libby
Password:
fixing libapplexp.1.0.dylib references... 
fixing libdps.1.0.dylib references... 
fixing libdpstk.1.0.dylib references... 
fixing libfreetype.6.2.dylib references... 
fixing libGL.1.2.dylib references... 
fixing libGLU.1.3.dylib references... 
fixing libICE.6.3.dylib references... 
fixing liboldX.6.0.dylib references... 
fixing libpsres.1.0.dylib references... 
fixing libSM.6.0.dylib references... 
fixing libX11.6.2.dylib references... 
fixing libXaw.6.1.dylib references... 
fixing libXaw.7.0.dylib references... 
fixing libXext.6.4.dylib references... 
fixing libXfont.1.4.dylib references... 
fixing libXft.1.1.dylib references... 
fixing libXi.6.0.dylib references... 
fixing libXmu.6.2.dylib references... 
fixing libXmuu.1.0.dylib references... 
fixing libXp.6.2.dylib references... 
fixing libXrandr.1.0.dylib references... 
fixing libXrender.1.1.dylib references... 
fixing libXt.6.0.dylib references... 
fixing libXTrap.6.4.dylib references... 
fixing libXtst.6.1.dylib references...
sao is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.