[rt-users] rt command does not work

Kazu Kimura kimura at ctc.ad.jp
Tue May 22 02:57:38 EDT 2001


Hello all,

I have updated some perl modules and then, rt coomands do not work
properly.

kimura at red > ./rtq
Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/mysql/mys
ql.so' for module DBD::mysql: Shared object "libmysqlclient.so.10" not found at
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Mysql.pm line 13
BEGIN failed--compilation aborted at /opt/rt/lib/rt/database.pm line 8.

I searched for libmysqlclient.so.10 the concerned directory but it is
not there.

I suspect DBD::mysql module may be wrong so, I did;

red# perl -MCPAN -e 'install DBD::mysql'
(snip)

cp lib/Mysql.pm blib/lib/Mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI       -DVERSION=\"2.0900\"  -DXS_VERSION=\"2.0900\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE  dbdimp.c
In file included from dbdimp.c:29:
dbdimp.h:31: mysql.h: No such file or directory
dbdimp.h:32: errmsg.h: No such file or directory
*** Error code 1

Stop in /root/.cpan/build/DBD-mysql-2.0900.
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Concerning mysql.h and errmsg.h, they exist.

red# find / -name mysql.h -print
/usr/local/mysql/include/mysql/mysql.h

red# find / -name errmsg.h -print
/usr/local/mysql/include/mysql/errmsg.h

Any suggestion on what to fix?


- - - - - - - - - - - - - - - - - - - 
Kazu Kimura <kimura at ctc.ad.jp>
IP Network tech. dep. CTC
Phone +81-52-740-8101
Fax   +81-52-740-8935
- - - - - - - - - - - - - - - - - - - -





More information about the rt-users mailing list