[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] install msmtp in a non-priviledge user account



Daniel Ajoy wrote:
> Is it possible to install msmtp in a non-priviledge user account?
> 
> I unpacked a precompiled deb package, but when I tried to run it I got:
> 	
> ../msmtp: error while loading shared libraries: libgnutls-deb0.so.28: cannot open shared object file: No such file or directory
> 
> I unpacked libgnutls-deb0.so.28 from it's own package in the same folder but msmtp still shows the same error.
> 
> Daniel

The problem is not installing msmtp, but that you don't have libgnutls
installed* on that system. So you either get it installed by the admin
or "install" it locally at a different folder to which you point -with
some ld magic (LD_LIBRARY_PATH, LD_PRELOAD, rpath…)- the executables
requiring them. Or don't use packages precompiled for a different folder
structure.

If you compile both libgnutls and msmtp, you can make them live at a
different folder.


* The same problem would appear with any other library.