Re: DBD::mysql library issue on mod_perl2/Leopard
"Hendrik Van Belleghem" <[email protected]> Mon, 17 Mar 2008 22:15:30 +0100
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Patrick, I remember that I had to fix some stuff before I got it to work. I compiled apache2 as last in 32 bit so everything else was just sitting there waiting to get linked. Hendrik On Mon, Mar 17, 2008 at 10:04 PM, Patrick Galbraith <[email protected]> wrote: > Hendrik Van Belleghem wrote: > > >Just my 2 cents, since I got this whole thing started.. > >I got it all working by rebuilding pretty much everything with i386 > (apache, > >mod_perl, mysql, dbi, dbd::mysql).. Well, I left perl itself out. > >I manually copied some files from the mod_perl build folders and added > some > >entries (specifically for mod_perl and libapreq2) to httpd.conf. > > > >I would've liked to use Apples apache2 build but that just failed for me. > > > >HTH > > > > > >On Mon, Mar 17, 2008 at 8:50 PM, actuosus <[email protected]> wrote: > > > > > > > BTW - these values are derived from MySQL's util program "mysql_config". > I wonder if for leopard it's probelmatic. > > --Patrick > > >>I have absolutely the same problem. > >> > >>Config after executing `sudo perl Makefile.PL` > >> cflags (mysql_config) = -I/usr/local/mysql/include/mysql -Os > -arch > >>x86_64 -fno-common > >> embedded (mysql_config) = > >> libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient > -lz > >>-lm > >> mysql_config (guessed ) = mysql_config > >> nocatchstderr (default ) = 0 > >> nofoundrows (default ) = 0 > >> ssl (guessed ) = 0 > >> testdb (default ) = test > >> testhost (default ) = > >> testpassword (default ) = > >> testsocket (default ) = > >> testuser (default ) = > >> > >>Error: > >> dyld: lazy symbol binding failed: Symbol not found: _mysql_server_init > >> Referenced from: > > >>/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle > >> Expected in: dynamic lookup > >> > >> dyld: Symbol not found: _mysql_server_init > >> Referenced from: > > >>/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle > >> Expected in: dynamic lookup > >> > >>Tests result: > >> Failed 32/34 test scripts, 5.88% okay. 475/478 subtests failed, 0.63% > >>okay. > >> > >>Perl 5.8.8 with multitreading > >>MySQL 5.0.51a (x86_64) > >>DBI 1.602 (x86_64, i386, ppc) > >>DBD::mysql 4.006 > >> > >>Directory '/usr/local/mysql/include/mysql' exists as symbolic link. > >> > >>By default, Makefile contains strings to build only for i386 and ppc for > >>DBI > >>and DBD::mysql. > >> > >>--SNIP-- > >> > >> > > > > > > > > > > > -- > Patrick Galbraith, Senior Programmer > Grazr - Easy feed grazing and sharing > http://www.grazr.com > > Satyam Eva Jayate - Truth Alone Triumphs > Mundaka Upanishad > > > > -- Hendrik Van Belleghem Spine - The backbone for your website - http://spine.sf.net