Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 17:39:49 +0000 (GMT)
From:      Scot Elliott <scot@poptart.org>
To:        Andreas Braukmann <braukmann@tse-online.de>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: MySQL on 2.2.6-BETA
Message-ID:  <Pine.BSF.3.96.980325173555.14760A-100000@uranus.planet-three.com>
In-Reply-To: <19980325182846.35033@paert.tse-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980325173555.14760A-100000>