Bug #52
closedLib htp installs in /usr/lib by default on OSX 10.5
Description
Lib htp installs into /usr/lib instead of /usr/local/lib by default on OSX 10.5. This makes BSD admins cranky, as the FHS standard (http://proton.pathname.com/fhs/) and "man hier" disagree.
$ pwd
/usr/lib
$ ls l libhtp* 1 root wheel 306320 Jan 8 09:50 libhtp.a
-rwxr-xr-x 1 root wheel 78360 Jan 8 09:50 libhtp-0.1.1.dylib
-rw-r--r-
lrwxr-xr-x 1 root wheel 18 Jan 8 09:50 libhtp.dylib -> libhtp-0.1.1.dylib
-rwxr-xr-x 1 root wheel 928 Jan 8 09:50 libhtp.la
Updated by Ivan Ristic almost 15 years ago
- Status changed from New to Assigned
I've changed the installation prefix to /usr/local, so that will take care of new installations. I see that the default automake install does not remove any of the versions previously installed in /usr/lib; I still need to figure out how to deal with that situation.
Updated by Ivan Ristic almost 15 years ago
I added the following code to the Makefile:
# An early version of LibHTP would install in /usr, rather # than /usr/local. The following code removes the older # installation. install-exec-hook: rm -rf /usr/lib/libhtp.* rm -rf /usr/lib/libhtp-0.1.* rm -rf /usr/include/htp/
While the code works as intended, I don't know if that's appropriate to do in a Makefile, or if there is a better way to address this issue.
Updated by Victor Julien almost 15 years ago
- Status changed from Assigned to Closed
I think this is fixed in libhtp upstream.