Flavio Stanchina <[EMAIL PROTECTED]> writes:

> Christian Marillat wrote:
>> The new diversion is broken. Here is the dpkg-shlibdeps output :
>> 
>> dpkg-shlibdeps: warning: diversions involved - output may be incorrect
>>  diversion by fglrx-driver from: /usr/X11R6/lib/libGL.so.1
>> 
>> After that my package depends on fglrx-driver instead of the xlibmesa-gl.
>
> Let me see if I understand the problem correctly: if someone builds a
> package that links against libGL.so.1 while fglrx-driver is installed,
> the package will depend on fglrx-driver instead of xlibmesa-gl?

Yes.

> I had a feeling that diverting the ldconfig symlink was not a good idea,
> even if lintian and several actual people complained that I should do
> so, but I didn't anticipate this particular problem.
>
> Are there other packages that divert library symlinks? How do they solve
> this problem? Would it work if I added a shlibs file with the same
> contents as the xlibmesa-gl.shlibs file?

May be a good exemple is the nvidia package ?

> What if a program links against libGL.so.1.2 (the actual file) rather
> than the symlink?

Franckly I don't know. The previous package was working correctly.

Christian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to