Re: FVWM: X11R5 NO GOOD??

From: Paul Lange <pel_at_uts.cc.utexas.edu>
Date: Sat, 06 Apr 1996 22:39:10 -0600

> 4. 7546: /mn/vega/u1/bards/bin/fvwm2: /sbin/loader: Fatal Error: cannot
> map libXpm.so

Yes, the loader is having a problem trying to find libXpm.so. It may compile
fine, but that is probably because you compiled with the
option, "-L/path/to/libXpm.so". This is fine for compiling, but when fvwm
is executed, the loader doesn't know where to look anymore.

As mentioned before, you can fix this by setting the environment variable,
LD_LIBRARY_PATH to the location of the file, -or-, and better yet, you can
send a flag to the loader to create a path record in the executable so it
knows where to look. On the system I am on (Digital Unix), that flag is
-rpath <path>, on others it may be different. If you think multiple people
might be using the fvwm that you compile, this would be a better fix, that
way everybody who uses it doesn't have to set their LD_LIBRARY_PATH's.

And a word of warning to everybody on Digital Unix. It appears that vendor
supplied loader does not allow for a space between -rpath and its argument.
Also, there is no compiler option to send a flag to the loader. Thus, the
compiler cannot handle the space, and thinks the argument to -rpath an object
file. As of yet, I haven't found a good workaround, other than to change
Makefiles so that the loader is called separately, or to make until it breaks,
run the load line by hand, and make again. If anybody knows of a solution to
this, I would be more than happy to know it.
--
Paul Lange              5 Paul vs Data 0              pel_at_uts.cc.utexas.edu
---------------------------------------------------------------------------
"Blest is the nation whose silent course of happiness furnishes nothing for
 history to say.  This is what I ambition for my own country."
		- Thomas Jefferson to Comte Diodati, 1807
---------------------------------------------------------------------------
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Apr 06 1996 - 22:36:27 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST