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: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Shared libs on Mac OS X Server 10.2
  • Date: Wed, 16 Oct 2002 13:15:01 -0400


I think this duplication problem is one of those recently fixed libtool bugs
I was talking about earlier.

I would guess that this change is probably (at least part of) the relevant
fix:

http://subversions.gnu.org/cgi-bin/cvsweb/libtool/ltmain.in.diff?r1=1.293&r2
=1.294&f=h

Cheers,
--nick

-----Original Message-----
From: bounce-freetds-145195 AT franklin.oit.unc.edu
[mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
Sent: Wednesday, October 16, 2002 12:45 PM
To: TDS Development Group
Subject: [freetds] Re: Shared libs on Mac OS X Server 10.2

The problem here is that the call to generate the shared libraries is
showing every exported symbol in libtds_objects.al to be defined
twice in the same file in the archive. This is because the call to
gcc to build the shared library is including the archives twice. Here
is the command issued by make in src/tds:

gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libtds.1.0.1.dylib -all_load ./.libs/libtds_objects.al
../replacements/.libs/libreplacements.al ./.libs/libtds_objects.al
../replacements/.libs/libreplacements.al -lc -install_name
/usr/local/lib/libtds.1.dylib -compatibility_version 2
-current_version 2.1

Manually running this command after stripping out the duplicates works.

I looked around the makefile, but this is one of those areas where I
have no clue what is going on. I can work with make, but I've never
learned the whole unix build process, aside from compiling my own
simple projects on whatever platform I am using.


--
__________________________________________________________________________
"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


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that for certain accounts we do not accept
orders and/or instructions by e-mail, and for those accounts we will not be
responsible for carrying out such orders and/or instructions. Kindly refrain
from sending orders or instructions by e-mail unless you have confirmed that
we accept such communications for your account. Please also note that to
satisfy regulatory requirements we review the outgoing and incoming e-mail
correspondence of staff members serving certain functions.






Archive powered by MHonArc 2.6.24.

Top of Page