From: Derek Stedman Date: June 17 1999 8:39pm Subject: Cant install Msql-Mysql-modules-1.2200 List-Archive: http://lists.mysql.com/perl/105 Message-Id: <37695D10.CBE8C6B0@onlinewebdesign.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Im having problems getting this thing to install, I'm definitly no expert at installations on unix machines so please forgive any stupid questions. Im trying to install Msql-Mysql-modules-1.2200 on Solaris2.7 using gcc version 2.8.1 Perl is perl 5.005_03 DBI is DBI-1.10 Data-ShowTable is Data-ShowTable-3.3 mSQL is mSQL 2.0.3 Ive included the results of perl -V below, anyways first I installed msql then DBI then Data-ShowTable then I tried installing Msql-Mysql-modules-1.2200 make seems to go ok but I get this result on every test t/00base............install_driver(mSQL) failed: Can't load '../blib/arch/auto/D BD/mSQL/mSQL.so' for module DBD::mSQL: ld.so.1: /usr/bin/perl: fatal: relocation error: file ../blib/arch/auto/DBD/mSQL/mSQL.so: symbol msqlErrMsg: referenced s ymbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169. I see something similar in the readme talking about known problems but it is talking about Mysql I didnt know if it applied but I tried using gcc --print-libgcc-file and it gave the following /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/libgcc.a my LD_RUNPATH line looked like this LD_RUN_PATH="/lib" gcc -o ../blib/arch/auto/DBD/mSQL/mSQL.so -R/lib -G -L/usr/local/lib dbdimp.o mSQL.o -L/usr/local/Hughes/lib -L/usr/local/Hughes/lib/libmsql.a -R/usr/local/Hughes/lib/libmsql.a -lm I tried appending -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -lgcc but it didnt help any, I thought maybe my old version of perl was compiled with a diferent compiler so I upgraded to perl 5.005_03 last night then tried the entire process again so now I know that perl, msql, dbi, Data-ShowTable, have all been compiled using gcc Any Help would be greatly appreciated, as I would really like to learn how to use mSQL. please let me know if there is anything else that would help diagnose this problem. Below are the results of perl -V # perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=solaris, osvers=2.7, archname=sun4-solaris uname='sunos ns1 5.7 generic sun4u sparc sunw,ultrasparc-iii-engine ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='gcc', optimize='-O', gccversion=2.8.1 cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags ='-L/usr/local/lib -L/usr/local/lib/gcc-lib/sparc-sun-sola ris2.7/2.8.1 -lgcc' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib/gcc-lib/spar c-sun-solaris2.7/2.8.1 libs=-lsocket -lnsl -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/usr/local/lib/gcc-lib/ sparc-sun-solaris2.7/2.8.1' Characteristics of this binary (from libperl): Built under solaris Compiled at Jun 17 1999 14:37:58 @INC: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .