Since the latest courier upload (0.60.0-1ubuntu1), it seems there's a problem with the shared libraries.
One of the changes made to the package was the removal of rpath information from the package. Without this information courier executables won't be able to locate the libraries under /usr/lib/courier-authlib and will fail with the following error:
/usr/lib/courier/courier/courierpop3login: error while loading shared libraries: libcourierauthsasl.so: cannot open shared object file: No such file or directory
I guess there are a few approaches to fix this:
- Do not strip rpath information
- Add /usr/lib/courier-authlib directory to /etc/ld.so.conf
- Change /usr/lib/courier-authlib to /usr/lib
- Modify courier init.d scripts to use LD_LIBRARY_PATH
- ...
I'm attaching a patch for first approach. It reverts the changes made to stip rpath information. Although this will make lintian to complain again.
Release: 8.10
Version: 0.60.0-1ubuntu1
Since the latest courier upload (0.60.0-1ubuntu1), it seems there's a problem with the shared libraries. courier- authlib and will fail with the following error:
One of the changes made to the package was the removal of rpath information from the package. Without this information courier executables won't be able to locate the libraries under /usr/lib/
/usr/lib/ courier/ courier/ courierpop3logi n: error while loading shared libraries: libcourierauths asl.so: cannot open shared object file: No such file or directory
I guess there are a few approaches to fix this:
- Do not strip rpath information courier- authlib directory to /etc/ld.so.conf courier- authlib to /usr/lib
- Add /usr/lib/
- Change /usr/lib/
- Modify courier init.d scripts to use LD_LIBRARY_PATH
- ...
I'm attaching a patch for first approach. It reverts the changes made to stip rpath information. Although this will make lintian to complain again.