-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Antti Holvikari wrote, On 6/1/06 9:50 AM: > Hello! > > I'm having trouble configuringThis happens with every 5.x.x version > when I try to configure. I have OS X Tiger and gcc 3.3. I have seen > this same problem with some others. One solution was that mysql libs > were not installed, but I think they are on my system. I have compiled > without any errors previously but somethings wrong now. Do you have > any clues on this? I think I have something wrong with my gcc > environment and I have tried reinstalling gcc from xcode, but no luck. >
couple of things come to mind: (1) first check, nm /usr/local/mysql/lib/mysql/libmysqlclient.dylib | grep mysql_query mysql_query should be defined: 00001e90 T _mysql_query (2) have you set your ENV flags? setenv CPPFLAGS "-I/usr/local/mysql/include/mysql ..." setenv LDFLAGS "-L/usr/local/mysql/lib/mysql -lmysqlclient ..." (3) is your 'configure' correct? mine, e.g., includes: ... --enable-pdo \ --with-mysql=/usr/local/mysql \ --with-mysql-sock=/var/Process \ --with-pdo-mysql=/usr/local/mysql \ ... (4) is there a specific reason you're using gcc3.3? i'm building here with 4.0.1, and the build completes OK ... (5) have you updated to last week's XCode update? hth, 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) iEYEAREDAAYFAkR/IBgACgkQlffdvTZxCMYNhQCgxJdi2f7mFToy16UplLhGNGeY dq0An0m2awvUnvRKp89/BqH/UlhySS/f =YBd3 -----END PGP SIGNATURE-----