Re: "library name bug"?
Re: "library name bug"?
- Subject: Re: "library name bug"?
- From: Daphne Pfister <email@hidden>
- Date: Fri, 31 Jan 2003 00:30:08 -0500
When I looked at the script, it looked okay, but I was concerned about
the lack of -wT options and some of the assumptions about how the
script parsed library files. I wrote a similar script to do the same
thing. (While I got bored and edit the script until nothing was left
of the original)
http://homepage.mac.com/daphnediane/fix_apple_x11
The libraries as shipped have the cause any programs linked against the
to depend on the major and minor version of the library. Really the
dependencies should only care about major version changes (normally API
level changes) and not minor version changes (normally bug fixes.)
What the script does is runs the install_name_tool command on all the
libraries to change dependencies to library_name.major.dylib instead of
library_name.major.minor.dylib. It also sets the internal name of all
libraries to library_name.major.dylib, so that any newly built programs
linked against the library only depend on the major version of the
library.
On Wednesday, Jan 29, 2003, at 23:38 US/Eastern, Eugene Lee wrote:
http://www.macnn.com/news.php?id=18277
Apple's X11 has library name bug
Wednesday, January 29, 2003 @ 12:00pm
The Fink Website recently posted a bug report with
Apple's X11 X Window System: "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 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."
So is the script safe?
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/fink/fix-
fink/install_name_fix.pl
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.