From owner-freebsd-stable Wed Mar 25 09:40:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20986 for freebsd-stable-outgoing; Wed, 25 Mar 1998 09:40:31 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from uranus.planet-three.com (homer.duff-beer.com [194.207.51.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20951 for ; Wed, 25 Mar 1998 09:40:11 -0800 (PST) (envelope-from scot@poptart.org) Received: from localhost (scot@localhost) by uranus.planet-three.com (8.8.8/8.8.5) with SMTP id RAA14775; Wed, 25 Mar 1998 17:39:50 GMT Date: Wed, 25 Mar 1998 17:39:49 +0000 (GMT) From: Scot Elliott To: Andreas Braukmann cc: freebsd-stable@FreeBSD.ORG Subject: Re: MySQL on 2.2.6-BETA In-Reply-To: <19980325182846.35033@paert.tse-online.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk 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. 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 > 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