-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
hi all,
i'm building php 5.1.4/thread-safe on OSX 10.4.6.
i've also built mysql 5.0.21 w/ threadsafe-client.
to ensure php+mysql+threads 'play nice', iiuc, i need to link against
ONLY libmysqlclient_r.
to 'get there', in addition to php ENV settings of:
setenv CPPFLAGS "-I/usr/local/mysql/include/mysql"
setenv LDFLAGS "-bind_at_load -L/usr/local/mysql/lib/mysql
- -lmysqlclient_r"
my php 'configure' includes:
./configure \
...
--enable-pdo \
--with-mysql=/usr/local/mysql \
--with-pdo-mysql=/usr/local/mysql \
...
given above, php configure & build complete w/o error.
BUT, checking with:
otool -L /usr/local/php5/bin/php
my php binary has, apparently, BOTH the thread-safe and non-thread-safe
libs linked-in:
...
/usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib (compatibility
version 16.0.0, current version 16.0.0)
...
/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib (compatibility
version 16.0.0, current version 16.0.0)
what in my config do i need to change/fix to get ONLY the thread-safe
client lib linked?
thanks,
richard
- --
/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments
[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iEYEAREDAAYFAkR2lzwACgkQlffdvTZxCMZJlACgqUgqZvnkoHFNt9DzNnqQZMWt
U3sAn15ozlSMl+Mnm4s/+6sYb7CXhXoT
=thw9
-----END PGP SIGNATURE-----
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]