On Tue, Jun 10, 2003 at 01:14:12AM +0200, Michael van Elst wrote:
>Bill,
>
>> Don't the unixodbc and myodbc packages require building with shared
>> libraries since they need them for use with programs like StarOffice and
>> OpenOffice.org to implement data sources under Linux and Unix?
>
>I do not know, but I would expect that these packages will
>load shared objects similar to perl which loads shared objects
>for modules written in C.

I don't think so.  The packages now only create the .a library files while
programs like OpenOffice.org have to make run-time links to the .so or
equivalent libraries.  The unixodbc configurations for databases have ascii
configuration files that require specifying shared libraries for each
database type.

I've been afraid to look closely at the internals of perl's shared
libraries, but I think it needs to do run-time linking to shared libraries
for modules that aren't built with static libraries.  The perl modules such
as DB_File build against the libdb.a static library so while they're load
dynamically, perl's code has the static library links.

If one were to build openffice.org under openpkg, the static libraries
would be sufficient.  I don't know of anybody who's tackled that job yet (I
think it makes building mozilla look trivial by comparison).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Freedom from prices is freedom from responsibility. You can simply pass
laws, using the magic wand of government to satisfy your own desires at
unspecified costs to be paid by others.'' -- Thomas Sowell Aug 2000
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to