[Nix-dev] dlopen in NixOS
Yury G. Kudryashov
urkud.urkud at gmail.com
Wed Dec 21 22:35:26 CET 2011
Lluís Batlle i Rossell wrote:
> On Sun, Dec 18, 2011 at 01:15:26PM +0400, Yury G. Kudryashov wrote:
>> Hi!
>>
>> Today I realized that Qt looks for many libraries using dlopen(). The
>> list of libraries Qt tries to dlopen() include:
>> * libgdk-x11-2.0 (QtWebKit for flash plugin)
>> * libgtk-x11-2.0 (QtWebKit for flash plugin)
> It did the same with openssl. I remember having committed some trick long
> ago.
>
> Iirc, it works fine if you force a "-lthelib" in LDFLAGS, and have the
> libs in the buildInputs.
All solutions that come to my mind have the following side-effect: gtk will
be a build-time and runtime dependency of Qt. Any ideas how to avoid this?
--
Yury G. Kudryashov,
mailto: urkud at mccme.ru
More information about the nix-dev
mailing list