[comp.windows.x] Shared libraries on Sun 4/330

ballard@mc1.mit.EDU (Jerrell Ballard) (04/17/91)

  I have OpenLook running on a Sun 4/330 and I would like to 
  run some of the applications on local Xterminals.  But
  all the executables are **dynamically** linked.  When I 
  run "olwm" from a Xterminal I get the following message:

  ld.so: libolgx.so.3: not found

  Is it looking for a shared memory segment ? If so is there a
  program that will load this shared memory with the needed 
  libraries ?  If I had the source, I know that all I have 
  to do is use the -Bstatic flag at the final linking 
  to get around this error.


  Jerrell Ballard
  Geographical Information Systems Team
  Waterways Experiment Station
  United States Army Corp Engineers

------------------------------------------------------------------------------
  Waterways Experiment Station     | Internet: ballard@mc1.wes.army.mil     
  ATTN: Jerrell R. Ballard, EN-A   |                                        
  3909 Halls Ferry Road            | FAX:      (601) 634-3726               
  Vicksburg, MS 39180              | Voice:    (601) 634-2946               
------------------------------------------------------------------------------

fgreco@govt.shearson.COM (Frank Greco) (04/17/91)

>   I have OpenLook running on a Sun 4/330 and I would like to 
>   run some of the applications on local Xterminals.  But
>   all the executables are **dynamically** linked.  When I 
>   run "olwm" from a Xterminal I get the following message:
> 
>   ld.so: libolgx.so.3: not found

	Is your LD_LIBRARY_PATH env var set properly?
	e.g.,
		(csh)
		setenv LD_LIBRARY_PATH	"$OPENWINHOME/lib:/usr/lib:/usr/local/lib"

	
	Frank G.