# To subscribers of the xforms list from Steve Lamont <spl@eggshell.ucsd.edu> :
> . . . 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
Did you set LD_LIBRARY_PATH?
> Maybe I am just dim, but why is it trying to find the shared lib
> when I tried to compile with the static lib?
Because the linker will insist on using a shared library if it is
available unless explictly told otherwise. You must bracket the
`-lforms' with `-static' and `-dynamic' (or whatever's the equivalent
in your linker's lexicon).
spl
_________________________________________________
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:30:11 EST