Moving X11 install into their own subdirectory

Blair Zajac blair at orcaware.com
Tue Mar 17 11:33:10 PDT 2009


Blair Zajac wrote:
> 
> I've asked ZeroC to suggest an alternate name for their shared library 
> and I think the only solution is to rename their shared library.

A reply from ZeroC on this:

 > On MacOS X, libIce.dylib is just a symbolic link to libIce.33.dylib,
 > itself a symbolic link to libIce.3.3.0.dylib and soon
 > libIce.3.3.1.dylib, and this symbolic link should be used only when
 > linking an application, and not at runtime.
 >
 > So the issue occurs if you're using a case-insensitive file system, and:
 >  - you're building an application that links with both libICE and libIce
 > (which would seem uncommon), or
 >  - all your library symbolic links are installed in the same directory
 > (e.g. /usr/lib).
 >
 > At first glance, my preference in this case would be to rename only the
 > conflicting symbolic link, but not the symbolic links/libraries it
 > points to, for example: libZeroCIce.dylib -> libIce.33.dylib ->
 > libIce.3.3.0.dylib
 >
 > and then of course adjust your makefiles to use -lZeroCIce instead of -lIce.

Any comments on this approach?

Blair



More information about the macports-dev mailing list