auth_pam fails to load with "permission denied"
Hi to all
I compiled the latest stable (5.2.10) version of mariadb from source. My intention was to get the auth_pam.so plugin which was not included in the official debs.
I used these flags:
./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir
The bins compiled correctly and the mysqld start but fails to load auth_pam.so with the following error:
mysqld: 120203 10:03:09 [ERROR] Can't open shared library '/usr/lib/
The file auth_pam.so is a symlink to auth_pam.so.0.0.0 and does have read and execute permissions for all:
root@serv:
-rw-r--r-- 1 root root 14586 2012-02-03 09:21 auth_pam.a
-rwxr-xr-x 1 root root 1047 2012-02-03 09:21 auth_pam.la
lrwxrwxrwx 1 root root 17 2012-02-03 10:04 auth_pam.so -> auth_pam.so.0.0.0
lrwxrwxrwx 1 root root 17 2012-02-03 09:21 auth_pam.so.0 -> auth_pam.so.0.0.0
-rwxr-xr-x 1 root root 19620 2012-02-03 09:21 auth_pam.so.0.0.0
I even tried to change the ownership of the destination file to mysql user but that didn't help. I also tried to change the auth_pam.so symlink to a hard link but also failed to load it.
Any ideas what could be the problem?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- MariaDB Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Theodotos Andreou
- Solved:
- Last query:
- Last reply: