[PATCH] AIX Fix install not generating .so.# -> .so symlinks for private libraries

Andrew Bartlett abartlet at samba.org
Sat Apr 30 08:03:45 UTC 2016

On Tue, 2016-03-01 at 18:12 +0000, Guillaume G Taillon wrote:
> > What happens if you don't do that?
> When trying to run any binary, they would fail on multiple .so from 
> lib/private:
> > export LIBPATH=...samba/lib/:...samba/lib/private:...
> > smbd
> exec(): 0509-036 Cannot load program /usr/local/samba-4.3.5/sbin/smbd
> because of the following errors:
>         0509-150   Dependent module libsamba-util.so could not be
> loaded.
>         0509-022 Cannot load module libsamba-util.so.
>         0509-026 System error: A file or directory in the path name
> does 
> not exist.
> See outputs from ldd.

Does this patch (from Debian) help?


As you can tell, I'm a little sceptical about AIX-specific hacks, but
if Debian needs the same thing, it makes much more sense to include it

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list