Re: XForms: static linking, Solaris 2.5 vs Solaris 2.6

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 6 Jan 99 17:12:47 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Under Solaris 2.5 we were able to link statically, using the
> -Bstatic flag. However, that binary wouldn't run on Solaris 2.6, generating
> an error saying that the display can't be opened. We then tried to
> recompile on Solaris 2.6 and got an "undefined symbol" error in the
> X11 library during the link phase. We were able to successfully compile
> and run only by surrounding the "-lX11" with -Bdynamic in front and -Bstatic
> after.

What was the undefined symbol? I link under Solaris 2.6 with no problems.

spl
_________________________________________________
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/