XForms: And furthermore, static linking, Solaris 2.5 vs Solaris 2.6

Joel Weiner (weiner@mcci-arl-va.com)
Thu, 7 Jan 1999 18:07:22 -0500

# To subscribers of the xforms list from weiner@mcci-arl-va.com (Joel Weiner) :

Hello again,

Well, SPL's suggestion of adding the libXext.a library to my link
list solved the undefined symbol problem during linking. (Thank you)

However, I still have a slight problem:
If I link on Solaris 2.5 and try to run on 2.6 I get the error:

./act_ui: Can't open display blah:0--Invalid argument

which I mentioned before, and which, as Steve correctly surmised,
immediately terminates the application.

If I link on Solaris 2.6 and try to run on 2.5 I get a different error:

ld.so.1: ./act_ui: fatal: relocation error: symbol not found: _so_socket: referenced in ./act_ui
Killed

I'm not sure what ld.so.1 is. ld in the man page is a link editor, but
that's an application. Could it be a dynamic loader?

I should mention that if compiled on 2.5 it runs fine on 2.5 and if compiled
on 2.6 it runs fine on 2.6

So much for portability.
Any suggestions? (be nice)

Once again,
Thanks,
JW
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/