Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 1997 16:13:31 -0800 (PST)
From:      Jeffrey Hsu <hsu>
To:        jkh@time.cdrom.com, mike@smith.net.au
Cc:        hackers@hub.freebsd.org, tlambert@primenet.com
Subject:   Re: shared library with static Motif?
Message-ID:  <199712070013.QAA26928@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
  > while the StarOffice situation is slightly different.  They have all 
  > their GUI components in a shared library which is used by all their 
  > applications.  In order to avoid having to distribute the Motif shared 
  > library with their stuff, they include all the Motif functions in the 
  > aforementioned library.

That is what I was trying to do.  The 2 points I was asking are
  o How to do this technically.  You get the dreaded RSS relocation
	error messages when trying to statically link libXm.a functions
	into a shared library.  I now believe this is not possible.
  o Does this qualify as static linking for redistribution purposes?
	If I pulled functions out of libXm.so and combined them into
	my liba.so, then the answer is obviously no.  Pulling functions
	out of libXm.a does not appear to be technically feasible (point
	one above).
So it appears that this solution loses on both points.  Linking Motif
routines statically into the final executable (rather than an intermediate
shared library) does work okay.  I guess I'll have to do it that way.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712070013.QAA26928>