damogyz has asked for the wisdom of the Perl Monks concerning the following question:
# perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris uname='sunos 5.10 s10_60 sun4u sparc sunw,ultra-5_10 ' config_args='-Dcc=gcc -B/usr/ccs/bin/' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicit +y=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe -I/usr/ +local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='so +laris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lse +eksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Dec 5 2005 01:53:11 @INC: /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl ======================================================== # /usr/ccs/bin/make test /usr/ccs/bin/make -f Makefile.aperl perl gcc -B/usr/ccs/bin/ -c -I/usr/local/lib/perl5/site_perl/5.8.7/sun4-sol +aris/auto/DBI/ -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch= +v8 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing - +pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +-O -DVERSION=\"3.0002_5\" -DXS_VERSION=\"3.0002_5\" -fPIC "-I/usr/loc +al/lib/perl5/5.8.7/sun4-solaris/CORE" dbdimp.c gcc: language c99=none not recognized gcc: dbdimp.c: linker input file unused because linking not done gcc -B/usr/ccs/bin/ -c -I/usr/local/lib/perl5/site_perl/5.8.7/sun4-sol +aris/auto/DBI/ -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch= +v8 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing - +pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +-O -DVERSION=\"3.0002_5\" -DXS_VERSION=\"3.0002_5\" -fPIC "-I/usr/loc +al/lib/perl5/5.8.7/sun4-solaris/CORE" mysql.c gcc: language c99=none not recognized gcc: mysql.c: linker input file unused because linking not done `perl' is up to date. PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e" "test_harness( +0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok t/10dsnlist..........ok t/20createdrop.......ok t/30insertfetch......ok t/35limit............ok t/35prepare..........ok t/40bindparam........ok t/40blobs............ok t/40listfields.......ok t/40nulls............ok t/40numrows..........ok t/41blobs_prepare....ok t/50chopblanks.......ok t/50commit...........ok t/60leaks............skipped all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not ins +talled t/ak-dbd.............ok t/akmisc.............ok t/dbdadmin...........ok t/insertid...........ok t/mysql..............ok t/mysql2.............ok All tests successful, 1 test skipped. Files=21, Tests=934, 26 wallclock secs ( 2.45 cusr + 0.33 csys = 2.78 +CPU) # ====================================================================== +============================= -bash-3.00$ perl testx.pl install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_pe +rl/5.8.7/sun4-solaris/auto/DBD/mysql/mysql.so' for module DBD::mysql: + ld.so.1: perl: fatal: libmtmalloc.so.1: DF_1_NOOPEN tagged object ma +y not be dlopen()'ed at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaL +oader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expecte +d at testx.pl line 7
Edit: g0n - readmore tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD for Mysql on solaris can not load mysql.so?
by marto (Cardinal) on Mar 21, 2006 at 10:55 UTC | |
|
Re: DBD for Mysql on solaris can not load mysql.so?
by mull (Monk) on Mar 21, 2006 at 14:07 UTC |