List:Internals« Previous MessageNext Message »
From:Lenz Grimmer Date:December 2 2003 1:09pm
Subject:Re: Shared Library support on OS X to build other packages
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Sat, 22 Nov 2003, Ian Roberts wrote:

> I am trying to compile sasl2 on os x server with support for mysql.  In
> order for this to work one needs a dynamic library for libmysqlclient
> (.dyld) or .so ? and this is not available when you compile mysql on os
> x.  I have tried to do --enable-shared (eventhough it is this by
> default) and still no dynamic lib.
> 
> Has anyone got any suggestions on how I am going to get around this
> problem? Please.......

Hmm, when I just tested it, the shared libs were created just fine:

$ uname -a
Darwin powermacg4.mysql.com 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003;
root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc
$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)
$ ./configure --enable-shared ; make
[...]
$ file libmysql/.libs/libmysqlclient.14.0.0.dylib
libmysql/.libs/libmysqlclient.14.0.0.dylib: Mach-O dynamically linked shared library ppc

(this was for MySQL 4.1, but should be similar for 4.0 - just a different 
library version number)

Or am I missing something? Did you run "make install" to install the files 
afterwards?

Bye,
	LenZ
- -- 
 Lenz Grimmer <lenz@stripped>
 Senior Production Engineer
 MySQL GmbH, http://www.mysql.de/
 Hamburg, Germany

 For technical support contracts, visit https://order.mysql.com/?ref=mlgr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/zI8oSVDhKrJykfIRAtmDAKCBfPAdwj6USpzbihxfe2YEefzpVwCeOTG6
fzRfBQUyWNyezl0mmnNpfyU=
=5Dct
-----END PGP SIGNATURE-----
Thread
Shared Library support on OS X to build other packagesIan Roberts22 Nov
  • Re: Shared Library support on OS X to build other packagesLenz Grimmer2 Dec