[b]Update :--[/b]

I thought I'd try to statically link the DBD::mysql module.
Not sure if this is the correct way to do this but heres what happened :-

[b]# perl Makefile.pl[/b]

Edited Makefile and changed LINKTYPE from dynamic to static
[b]#make 
# make test_static[/b]

rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/lib:/usr/lib:/usr/local/ssl/lib" /usr/local/bin/perl 
myld gcc  -G -L/usr/local/lib dbdimp.o mysql.o  -o 
blib/arch/auto/DBD/mysql/mysql.so       \
           -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib 
-R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib 
-L/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/local/mysql/lib/mysql -lmysqlclient 
-lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -L/usr/local/ssl/lib -lssl 
-lcrypto      \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
make -f Makefile.aperl perl
make[1]: Entering directory `/.cpan/build/DBD-mysql-4.004-GwLB5D'
make[1]: `perl' is up to date.
make[1]: Leaving directory `/.cpan/build/DBD-mysql-4.004-GwLB5D'
PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok
t/10connect..........ok
t/20createdrop.......ok
t/30insertfetch......ok
t/35limit............ok
t/35prepare..........ok
t/40bindparam........ok
t/40bindparam2.......ok
t/40blobs............ok
t/40catalog..........ok
        16/77 skipped: various reasons
t/40listfields.......ok
t/40nulls............ok
t/40numrows..........ok
t/41bindparam........ok
t/41blobs_prepare....ok
t/42bindparam........ok
t/50chopblanks.......ok
t/50commit...........ok
        14/30 skipped: various reasons
t/60leaks............skipped
        all skipped: $ENV{SLOW_TESTS} is not set
t/70takeimp..........skipped
        all skipped: test feature not implemented
t/75supported_sql....ok
t/80procs............ok
t/insertid...........ok
t/multi_statement....ok
t/param_values.......ok
t/prepare_noerror....ok
t/texecute...........ok
t/utf8...............ok
All tests successful, 2 tests and 30 subtests skipped.
Files=28, Tests=578,  4 wallclock secs ( 2.19 cusr +  0.40 csys =  2.59 CPU)

So what the hell is going wrong?
I guess it points to dynamic libraries being the issue so if so is this a 
Solaris 10 issue?

Any help appreciated !!

SRG
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to