# To subscribers of the xforms list from "Turnage, Justin" <justin.turnage@lmco.com> :
I have had simalar problems with this, but mainly with the shared libraries.
I ended up making sure that the path to the library was in the
LD_LIBRARY_PATH in Linux (I'm using Mandrake) and when I did that everything
worked ok. My problem now is that when the sticky bit is set on the XFORMS
exacutable to run as root, it still cannot find the shared libraries even
when I made sure that the LD_LIBRARY_PATH was in the main bashrc login
script. Everything also works fine with me also with Xforms 0.89. (even
with the sticky bit set)
I know the above won't be able to help your needs but my problem seems to be
a small part in this thread so I thought I would put in my problem as well.
Justin Turnage
-----Original Message-----
From: David Paigen [mailto:paigen@heathen.com]
Sent: Friday, March 21, 2003 11:48 AM
To: xforms@bob.usuhs.mil
Subject: XForms: Can't seem to statically link
# To subscribers of the xforms list from David Paigen <paigen@heathen.com> :
I am trying to test a program with 0.89 and 1.0 under
Red Hat linux and running into problems. If I compile
against the 0.89 library that was installed with Red
Hat it works fine. If I try to link against a local
version of 1.0 (not installed, just compiled in a
special directory) the link goes through, but running
the program resuls in the following:
/xqtl: error while loading shared libraries: libforms.so.1: cannot open
shared
object file: No such file or directory
Maybe I am just dim, but why is it trying to find the shared lib
when I tried to compile with the static lib?
Here are some lines out of my Makefile:
XFORMS_INCLUDE_FLAG = -Ixforms/xforms-1.0RC5.2/lib
XFORMS_LIBRARY_FLAG = -Lxforms/xforms-1.0RC5.2/lib -lforms
-Lxforms/xforms-1.0RC5.2/image -lflimage
XLIBS = ${XFORMS_LIBRARY_FLAG} -L/usr/X11R6/lib -lX11
xqtl: app xwin cgraph.o
${CC} -o xqtl ${XOBJ} ${COREOBJ} ${XOBJ} ${COREOBJ} ${LIBS} cgraph.o
${XLIBS}
Does anyone have any ideas for me?
Thanks,
- -David Paigen
paigen@heathen.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Mar 21 2003 - 13:37:25 EST