p5-DBD-mysql port error SOLVED
David Newman
dnewman at networktest.com
Wed Apr 2 00:25:54 UTC 2014
Sorry, I'd missed a note in UPDATING from 20131120. Due to THREADS now
being enabled by default, the answer is to recompile/reinstall ports
that use perl5. The note in UPDATING gives instructions on how.
Sorry for the noise.
dn
On 4/1/14, 4:57 PM, David Newman wrote:
> FreeBSD 9.2 amd64. Installing the p5-DBD-mysql port returns this error:
>
> ===> Configuring for p5-DBD-mysql-4.027
> Can't load '/usr/local/lib/perl5/site_perl/5.16/mach/auto/DBI/DBI.so'
> for module DBI:
> /usr/local/lib/perl5/site_perl/5.16/mach/auto/DBI/DBI.so: Undefined
> symbol "PL_thr_key" at /usr/local/lib/perl5/5.16/mach/DynaLoader.pm line
> 190.
> at /usr/local/lib/perl5/site_perl/5.16/mach/DBI.pm line 278.
>
> How to remedy? I've pasted the output from 'pkg info perl5' below.
>
> Thanks in advance.
>
> dn
>
> $ pkg info perl5
>
> perl5-5.16.3_9
> Name : perl5
> Version : 5.16.3_9
> Installed on : Tue Apr 1 14:45:25 PDT 2014
> Origin : lang/perl5.16
> Architecture : freebsd:9:x86:64
> Prefix : /usr/local
> Categories : perl5 lang devel
> Licenses : GPLv1 or ART10
> Maintainer : perl at FreeBSD.org
> WWW : http://www.perl.org/
> Comment : Practical Extraction and Report Language
> Options :
> DEBUG : off
> GDBM : off
> MULTIPLICITY : off
> PERL_64BITINT : on
> PERL_MALLOC : off
> PTHREAD : on
> SITECUSTOMIZE : off
> THREADS : off
> USE_PERL : on
> Shared Libs required:
> libperl.so
> Flat size : 47.3MiB
> Description :
> Perl is a language that combines some of the features of C, sed, awk and
> shell. See the manual page for more hype. There are also many books
> published by O'Reilly & Assoc. See pod/perlbook.pod for more
> information.
>
> WWW: http://www.perl.org/
>
> $ pkg info p5-DBI
>
> p5-DBI-1.631
> Name : p5-DBI
> Version : 1.631
> Installed on : Tue Apr 1 16:22:33 PDT 2014
> Origin : databases/p5-DBI
> Architecture : freebsd:9:x86:64
> Prefix : /usr/local
> Categories : perl5 databases
> Licenses : GPLv1 or ART10
> Maintainer : perl at FreeBSD.org
> WWW : http://dbi.perl.org
> Comment : Perl5 Database Interface, required for DBD::* modules
> Options :
> DOCS : on
> PROXY : off
> Flat size : 2.07MiB
> Description :
> The DBI interface allows perl programs to use DBD (Database Definition)
> drivers with a common set of routines. A program can then (theoretically)
> change from using mSQL to Oracle (for example) without changing the entire
> program around.
>
> This DBI interface is not yet fully specified. The current development
> work is focused on writing drivers, such as DBD::Oracle, which also
> implement emulations of old perl4 database interfaces, e.g., oraperl.
> This strategy enables the DBI and drivers to serve a useful purpose
> whilst allowing the real interface to evolve with experience behind the
> emulation interface.
>
> WWW: http://dbi.perl.org
> WWW: http://search.cpan.org/dist/DBI/
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list