SunOS 4.0 Dynamic Linking
Steve Souza @eldest
souza at telesoft.UUCP
Thu Sep 29 05:05:42 AEST 1988
Sun-Gods:
We have a job spooler application here that has suddenly broken
under SunOS 4.0.
The setup is analogous to the remote shell software in that commands
are remotely executed by a root daemon on behalf of users. The main
difference is that the root daemon executes the job by doing a popen()
on
". scriptfile"
(as opposed to a fork/exec, as it will someday), where "scriptfile"
contains a list of Bourne shell style variable initializations followed
by the command to execute.
The application compiles and runs without a hitch, but when "scriptfile"
hits a 4.0 executable (i.e. the user command), it barfs with the
message:
crt0: /usr/lib/ld.so mapping failure
If a 3.x program binary is copied to the remote (4.0) machine, the
daemon has no problem executing it, so it appears to be a problem with
4.0 dynamic linking in a shell environment that is somehow different.
I've tried compiling both the daemon software and the target command with
and without the -Bstatic switch, to no avail.
Any thoughts, suggestions, or guesses?
Thanks!
Steve Souza ...ucsd!telesoft!souza, telesoft!souza at ucsd.edu
TELESOFT Inc., San Diego, CA (619)457-2700 x277
More information about the Comp.unix.wizards
mailing list