Skip to Content.
Sympa Menu

freetds - Re: Shared libs on Mac OS X Server 10.2

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark J. Lilback" <mark AT lilback.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Shared libs on Mac OS X Server 10.2
  • Date: Tue, 15 Oct 2002 15:36:12 -0400


Is the flag for a flat namespace being included? Using two-level namespaces should solve the multiply-defined problem, and is the "proper" way to it on Mac OS X. I'm not sure what other problems this would result in, though.

Getting the list of multiply defined symbols would be useful for figuring this out. If it includes dbopen, then you can use the configure flag to change that symbol's name.

At 11:25 AM -0700 10/15/2002, bizard wrote:
> > I tried the above with the latest nightly tarball (after
> making a couple of changes to get it to compile at
> all...documented below) and ran into the problem that
> apparently my autoconf is not up to date enough. It claims
> to need 2.54 and I have 2.52.

Hold on. Thanks very much for the report, but something doesn't make sense
to me. You're not supposed to need autoanything to use the tarball. You're
only supposed to need make and cc, and I guess libtool these days.
Definitely not autoconf/automake.

I was following a previous suggestion that re-libtoolizing (which then prompted me to re-aclocal etc) might solve the problem of not being able to make the shared libraries on os x. I have since gone ahead and installed autoconf 2.54 and it does now correctly recognize the ability to build shared libs and attempts to build them but fails with multiply defined symbols. As I stated in the beginning I only know enough to get myself into trouble, but since I am stuck until I get this working I have plenty of time to learn. I tried adding -multiply_defined suppress to the LDFLAGS, but that doesn't appear to have been the correct location since I still get the same error (but can see that my flag was added in other locations).

--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<mark AT lilback.com> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin




Archive powered by MHonArc 2.6.24.

Top of Page