Date: Thu, 26 Mar 1998 07:28:30 -0500 (EST) From: Charles Owens <owensc@enc.edu> To: Scot Elliott <scot@poptart.org> Cc: Andreas Braukmann <braukmann@tse-online.de>, freebsd-stable@FreeBSD.ORG Subject: Re: MySQL on 2.2.6-BETA Message-ID: <Pine.BSF.3.95q.980326072007.1612A-100000@itsdsv2.enc.edu> In-Reply-To: <Pine.BSF.3.96.980325173555.14760A-100000@uranus.planet-three.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Mar 1998, Scot Elliott wrote:
> I got this when I had previously built without the FreeBSD thread
> libraries. If you've done this, then be sure to do a make clean to get
> rid of all the old config stuff and makefiles.
My build of mysql dies TODAY (2.2.6-STABLE - make world'd 2 hours ago). I
DO have libc_r present, and, as you suggested I first did a make clean.
The build died with the same errors that Andreas saw (quoted below).
Actually, I only get the last two "Undefined symbol" errors that he lists.
The first one doesn't seem to be a problem any more.
BTW, I get the same build failure with a CURRENT system (March 13
vintage).
So... those of you have been able to get mysql to build with proper libc_r
thread support... what's the trick? (Or what has become broken?)
Chuck
> As a side note though - has anyone been able to get the p5-DBD stuff
> working with MySQL on FreeBSD? I've got hold of the latest source from
> ftp.tcx.se - and it installs fine, but when I try to use it, perl spews
> with:
>
> install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/i386-fr
> eebsd/auto/DBD/mysql/mysql.so' for module DBD::mysql: Undefined symbol
> "___error" in
> perl:/usr/local/lib/perl5/site_perl/i386-freebsd/auto/DBD/mysql/mysql.so
> at /usr/local/lib/perl5/i386-freebsd/5.00404/DynaLoader.pm line 166.
>
> at (eval 1) line 2
>
> DBI::install_driver('DBI', 'mysql') called at /usr/local/lib/perl5/site_
> perl/DBI.pm line 329
> DBI::connect('DBI', 'DBI:mysql:mysql:uranus:3306', 'scot', 'xxxx')
> called at ./testDBI.pl line 12
>
>
>
> Thanks a lot all
>
> Scot.
>
>
> On Wed, 25 Mar 1998, Andreas Braukmann wrote:
>
> > Date: Wed, 25 Mar 1998 18:28:46 +0100
> > From: Andreas Braukmann <braukmann@tse-online.de>
> > To: freebsd-stable@FreeBSD.ORG
> > Subject: Re: MySQL on 2.2.6-BETA
> >
> > Hello,
> >
> > On Wed, Mar 18, 1998 at 07:08:23PM +0300, Andrew Maltsev wrote:
> > > Is there anybody successfully using MySQL on 2.2.6-beta with libc_r
> > > threads? I mean MySQL 3.21.26.
> > > All compiles ok, and appears to work ok for some time, but:
> >
> > hmm. I'm not able to build MySQL 3.21.25-gamma (from the ports) on
> > my 2.2.6-beta (from today) with libc_r:
> >
> > ug -L../regex -lregex -L../strings -lmystrings -lm -lcompat -lc_r
> > thr_alarm.o: Undefined symbol `_pthread_signal' referenced from text segment
> > thr_alarm.o: Undefined symbol `_pthread_attr_setscope' referenced from text segment
> > thr_alarm.o: Undefined symbol `_pthread_signal' referenced from text segment
> > gmake[2]: *** [mysqld] Error 1
> >
> > I've changed the arguments for configure in the port's makefile to:
> > CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
> > --with-named-thread-libs=-lc_r \ !!!!!
> > --with-MAKE=gmake \
> > --without-perl \
> > --without-debug \
> > --without-readline
> >
> > Any tips available?
> >
> > TIA,
> > Andreas
> >
> > --
> > /// TSE TeleService GmbH | Gsf: Arne Reuter |
> > /// Hovestrasse 14 | Andreas Braukmann | We do it with
> > /// D-48351 Everswinkel | HRB: 1430, AG WAF | FreeBSD/SMP
> > /// -------------------------------------------------------------------
> > /// PGP-Key: http://www.tse-online.de/~ab/public-key
> > /// Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> >
>
> -----------------------------------------------------------------------------
> Scot Elliott (scot@poptart.org) | Work: +44 (0)171 7046777
> PGP fingerprint: FCAE9ED3A234FEB59F8C7F9DDD112D | Home: +44 (0)181 8961019
> -----------------------------------------------------------------------------
> Public key available by finger at: finger scot@poptart.org
> or at: http://www.poptart.org/pgpkey.html
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>
---
-------------------------------------------------------------------------
Charles N. Owens Email: owensc@enc.edu
http://www.enc.edu/~owensc
Network & Systems Administrator
Information Technology Services "Outside of a dog, a book is a man's
Eastern Nazarene College best friend. Inside of a dog it's
too dark to read." - Groucho Marx
-------------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980326072007.1612A-100000>
