[PATCH] AIX Fix install not generating .so.# -> .so symlinks for private libraries
Guillaume G Taillon
gtaillon at ca.ibm.com
Tue Mar 1 18:12:35 UTC 2016
> 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.
> This patch doesn't seem right as a general case
Updated the patch, the symlinks will be made for all libs only if current
platform is aix.
gxt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldd.out
Type: application/octet-stream
Size: 19919 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160301/07713b49/ldd.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lddok.out
Type: application/octet-stream
Size: 5759 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160301/07713b49/lddok.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-wafsamba-AIX-Fix-install-not-linking-.so.-.so-.patch
Type: application/octet-stream
Size: 1421 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160301/07713b49/0001-build-wafsamba-AIX-Fix-install-not-linking-.so.-.so-.obj>
More information about the samba-technical
mailing list