Dear all,
I'm running Digital Unix V4.0 564.32 alpha and MySql 3.22.25.
Recently, I upgraded to perl 5.6.1, and now I'm trying to built DBD-mysql.
Following the installation instructions, I got a known error, cited in the
documentation:
<quote>
If Perl was compiled with gcc or egcs, but MySQL was compiled
with another compiler or on another system, an error message like
this is very likely when running "Make test":
t/00base............install_driver(mysql) failed: Can't load
'../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql:
../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: _umoddi3
at /usr/local/perl-5.005/lib/5.005/i586-linux-thread/DynaLoader.pm
line 168. This means, that your linker doesn't include libgcc.a. You have
the following options:
The solution is telling the linker to use libgcc. Run
gcc --print-libgcc-file
</quote>
In my system, gcc --print-libgcc-file points to
'~/bigdisk/gccObjdir/lib/gcc-lib/alphaev56-dec-osf4.0c/2.95/libgcc.a
_________here is the problem.___________
Since MySql is in a non-standard place, I had to add this:
perl Makefile.PL --cflags=-I/bigdisk/mysql/include/
--libs=-L'/bigdisk/mysql/lib'
Now, to solve the error, the documentation points that you should add this too
-L'~/bigdisk/gccObjdir/lib/gcc-lib/alphaev56-dec-osf4.0c/2.95/' -lgcc
How exactly can do that? Should I add two --libs arguments? Should I add the last path
separated by commas?
Please let me know if you need some additional information.
Thanks in advance,
-Jose
Jose Quesada Jimenez
[EMAIL PROTECTED] Research associate
http://lsa.colorado.edu/~quesadaj Institute of Cognitive Science
http://geneura.ugr.es/~jose University of Colorado (Boulder)
Muenzinger psychology building Phone, work:303 492 1522
office D447A
Campus Box 344 home:303 545 2082
University of Colorado at Boulder
Boulder, CO 80309-0344