Subject: pkg/35332: www/lighttpd Mac OS X binary package creation missing critical files
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 12/28/2006 00:00:00
>Synopsis: www/lighttpd Mac OS X binary package creation missing critical files
>Arrival-Date: Thu Dec 28 00:00:00 +0000 2006
>Originator: Jesse Peterson
Darwin melville.seattle.identitext.com 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
The www/lighttpd binary package when installed on Darwin doesn't install a critical shared library required to run. This library IS built when the package is compiled and installed, however.
When run, this is returned:
dyld: Library not loaded: /usr/pkg/lib/lighttpd/liblightcomp.dylib
Referenced from: /usr/pkg/sbin/lighttpd
Reason: image not found
When said shared library is manually copied into the system separate from the pkg_add action, lighttpd runs fine.
Build a binary package of the "www/lighttpd" on Mac OS X. Install said package on a pkgsrc system other than the build system through the pkg_add tool.
Alternatively you can build a binary package of the software, pkg_delete it, remove the /usr/pkg/lib/lighttpd/ directory, then pkg_add the package (on Darwin) and it should exhibit the behaviour.
I'd guess the package step should conditionally include this dylib?