Re: fatal error

Steve Lamont (
Wed, 29 Jan 97 09:07:05 PST

To subscribers of the xforms list from (Steve Lamont) :

> I just download xforms-0.84, and install it to my machine(SGI,irix 5.3) very
> successfully, while I run demo or any executable in DEMOS, they don't work,
> and show
> " Fatal Error :cannot map soname '' using any of the
> filename /usr/lib/, ..."

#include <standard_rant_about_shared_object_libraries_being_the_spawn_of_Satan>

If your libraries are not in the Standard Places, then the SGI
needs to be to told where the libraries live, either by a loader
directive (at the time the executable is built) or via an environment
variable (at run time).

To compile in the library path, do

cc ... -rpath where_your_libraries_live

If you're using gcc, this will be specified as

gcc ... -Xlinker -rpath -Xlinker where_your_libraries_live -B/usr/bin/

The -B/usr/bin/ will be necessary if you have the GNU ld on your

To fix this at run time, set the environment variable LD_LIBRARY_PATH:

setenv LD_LIBRARY_PATH where_your_libraries_live

In the above examples, 'where_your_libraries_live' is obviously a
metasymbol for where your non-standard libraries go.

> but the is installed automatically in /xforms/FORMS, does
> anybody know how to setup the libarary or something else.

I thought the XForms install put things in /usr/lib. I always end up
modifying the install to put things in /usr/local/lib (IMHO, the Right

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: