Public bug reported:

Release: 8.10

Version: 0.60.0-1ubuntu1


Since the latest courier upload (0.60.0-1ubuntu1), I'm experiencing a problem 
with the shared libraries.

One of the changes made to the package was the removal of rpath
information from the binaries. Without this information some 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 strip rpath information. Although this will make lintian to complain
again.

** Affects: courier (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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.
- 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:
+ 
+ One of the changes made to the package was the removal of rpath
+ information from the binaries. Without this information some 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
+ to strip rpath information. Although this will make lintian to complain
  again.

-- 
some courier executables can't load libraries in /usr/lib/courier-authlib 
https://bugs.launchpad.net/bugs/260899
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to