[Nix-dev] nixpkgs: libpng, rpath and transitive zlib dependency
Lluís Batlle
viriketo at gmail.com
Mon Aug 17 20:46:20 CEST 2009
2009/8/17 Nathaniel Griswold <griswold at cs.wisc.edu>:
> Hey all,
>
> In nixpkgs, i found that programs that use libpng such as pnmtopng (in
> tools/graphics/netpbm) never get the rpath for zlib injected into
> their linker line and fail at runtime.
When I encountered this problem in some packages, I used the wrapper
variables (NIX_LDFLAGS) to add the needed "-llibrary" parameters so
the rpath gets properly set.
Maybe the pkgconfig fix Ludo proposes will do a better job, fixing
more than one package at once.
Regards,
Lluís.
More information about the nix-dev
mailing list