Details
Description
Like DAEMON-242 , jsvc will not start:
{{
Attemtping to load library /lib/libcap.so.2
Attemtping to load library /lib/libcap.so.1
Attemtping to load library /lib/libcap.so
Attemtping to load library /usr/lib/libcap.so.2
Attemtping to load library /usr/lib/libcap.so.1
Attemtping to load library /usr/lib/libcap.so
failed loading capabilities library – /usr/lib/libcap.so: cannot open shared object file: No such file or directory.
Cannot set group id for user 'tomcat'
set_user_group failed for user 'tomcat'
Service exit with a return value of 4
}}
{{
ls -l /lib*/libcap* /usr//libcap
lrwxrwxrwx 1 root root 11 Sep 10 2007 /lib/libcap.so -> libcap.so.1
lrwxrwxrwx 1 root root 14 Sep 10 2007 /lib/libcap.so.1 -> libcap.so.1.10
-rwxr-xr-x 1 root root 11560 Mar 14 2007 /lib/libcap.so.1.10
lrwxrwxrwx 1 root root 11 Sep 10 2007 /lib64/libcap.so -> libcap.so.1
lrwxrwxrwx 1 root root 14 Sep 10 2007 /lib64/libcap.so.1 -> libcap.so.1.10
-rwxr-xr-x 1 root root 17384 Mar 14 2007 /lib64/libcap.so.1.10
}}
(formatting doesn't work: that's /usr/STAR/libcapSTAR in the ls)
If I symlink /usr/lib/libcap.so -> /lib64/libcap.so then it starts and seems to work fine. This did not happen in 1.0.7
Following issue links from DAEMON-242 I tried rerunning autoconf locally. But there is no -lcap anywhere and ldd doesn't show it.
Perhaps you just need to add /lib64 into the dlopen loop?