On 06Nov2018 09:57, Tom Horsley <horsley1953(a)gmail.com> wrote:
I've got filesystems hosted on centos 7. They are mounted
(nfs4) on my newly configured fedora 29 desktop.
I'm debugging an executable that lives on the NFS filesystem.
I make changes and recompile over on the centos system.
I try testing the newly compiled executable on fedora 29
and it acts totally strange in ways that make no sense.
Compiled on the Centos system, but dynamicly linking to library from the
Fedora system? That could be a bad combination.
Are the outputs of "ldd your-executable", run on fedora and centos,
different?
I reboot the fedora 29 system and try testing again, and
everything seems to be as expected.
Weird.
I can't put my finger on anything specific, but it sure seems
like NFS is at fault somehow.
So: copy the source to fedora and compile on fedora. Is the behaviour
normal or weird?
Guessing in the dark here, but a dynamicly linked executable will be
getting its library from the local system. But if it was compiled
remotely the headers will describe the remote system libraries. Binary
level badness if things mismatch, possibly.
Cheers,
Cameron Simpson <cs(a)cskk.id.au>