Danek Duvall wrote:
> Alan Coopersmith wrote:
>
>> Danek Duvall wrote:
>>> Another way is to do what the opengl folks do -- see the ogl-select
>>> service. It's quite similar to what the libc service does, but it
>>> overwrites a symlink each time, and does so in a potentially unwriteable
>>> directory, so it'll likely have to be fixed at some point.
>> When is /var/run potentially unwritable?
>
> Sorry; I misread the script.
>
> The major difference between the two techniques is that the symlink version
> means that the library is simply not available until the service runs,
> while with the mountpoint, the library is always available, if not in its
> optimized form. Conversely, the mountpoint solution in its current
> incarnation hides the underlying library completely, making life difficult
> for applications which want to use it explicitly.
Yes, and that means that anything linking with libGL has a hidden dependency
on the ogl-select SMF service, which I doubt the packaging system can know
about without hardcoding that in.
As you may remember, the ogl-select author originally proposed the mount
point method, but LSARC made him change to this one, because they were unhappy
about the confusion and problems (like failure to build flash archives properly)
caused by the libc mount.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering