"cannot open shared object file" when testing new DBI build
am 13.08.2007 19:03:27 von tony--nextPart2083182.zMxOnetQZM
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
I'm trying to port DBI to the new Nokia N800 internet tablet so I can then =
use=20
the MySQL DBD module on an application.
The module seems to build OK, but when I run "make test", most of the tests=
=20
fail with a message=20
=2D--------------------------------------------------------- ---------------=
=2D---------------------
Error: Can't load '/home/tony/DBI-1.58/blib/arch/auto/DBI/DBI.so' for modu=
le=20
DBI: /home/tony/DBI-1.58/blib/arch/auto/DBI/DBI.so: cannot open shared obje=
ct=20
file: No such file or directory=20
at /scratchbox/tools/lib/perl5/5.8.4/i686-linux-thread-multi/Dy naLoader.pm=
=20
line 230.=20
# at /home/tony/DBI-1.58/blib/lib/DBI.pm line 261
# BEGIN failed--compilation aborted at /home/tony/DBI-1.58/blib/lib/DBI.pm=
=20
line 261.
# Compilation failed in require at (eval 1) line 2.
=2D--------------------------------------------------------- ---------------=
=2D----------------------
According to the DynaLoader module, it's not actually at that line that it'=
s=20
failing, that's just an artifact of the way it runs.
I wonder if anybody might be able to provide some pointers so I can work ou=
t=20
what is actually missing, which is the one thing the errors don't give. I'm=
=20
building this in a virtual machine which is provided by Nokia as a=20
development environment, which makes me suspect there may be something=20
missing from the VM. I've successfully built MySQL itself in this VM.
The only notable comment output by "perl Makefile.PL" was:
=2D--------------------------------------------------------- ---------------=
=2D-------------------------
*** You are using a perl configured with threading enabled.^G
*** You should be aware that using multiple threads is
*** not recommended for production environments.
=2D--------------------------------------------------------- ---------------=
=2D-------------------------
(full file available at http://www.beermad.org.uk/dbi/makefile.html)
make itself doesn't give any notable errors (full file at=20
http://www.beermad.org.uk/dbi/make.html)
logs of "make test" and "make test TEST_VERBOSE=3D1" are at=20
http://www.beermad.org.uk/dbi/test.html and=20
http://www.beermad.org.uk/dbi/verbose-test.html respectively.
I'm sure I'm missing something amazingly obvious, but it's got me stumped. =
Any=20
suggestions would be gratefully received.
Thanks
Tony Green
=2D-=20
Tony Green
Ipswich, Suffolk, England
http://www.beermad.org.uk
http://no2id-ip.web-brewer.co.uk
** This message is digitally signed. If your email client is unable to read=
=20
digital signatures, you may see an attachment that you cannot open. See=20
http://www.gnupg.org/(en)/documentation/faqs.html for more information.
You can validate my PGP key from my website: http://www.beermad.org.uk/
* No Micro$oft products were used in the generation of this communication
--nextPart2083182.zMxOnetQZM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBGwI7fHf266u2LTbYRAlxGAKCLKcvoxesUW2Q1/p6T0hHCHZiYWwCe Kw7e
pChQ2jOQ/fDpJT07GTxSRpI=
=r2if
-----END PGP SIGNATURE-----
--nextPart2083182.zMxOnetQZM--