[rt-users] perl, modules & rh7 seem to be causing problems...

Jeff Lasman jblists at nobaloney.net
Mon Mar 5 00:21:35 EST 2001


This is my first post to this list, and I'm sorry to say we're stuck.

I know this isn't specifically an "rt" issue, but I hope someone on this
list has come up with it before.

We're running RH7 Linux, and when we install Msql-Mysql-modules, using #
perl -MCPAN -e shell, if we say yes to MysqlPerl emulation, we get an
error "/usr/bin/ld: cannot find -lz":

  Running Mkbootstrap for DBD::mysql ()
  chmod 644 mysql.bs
 
LD_RUN_PATH="/usr/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/i386-redhat-linux/2.9
  6" gcc -o ../blib/arch/auto/DBD/mysql/mysql.so  -shared
-L/usr/local/lib dbdimp.
  o mysql.o -L/usr/lib/mysql    -L/usr/lib/mysql -lmysqlclient -lm -lz
-L/usr/lib/
  gcc-lib/i386-redhat-linux/2.96 -lgcc
  /usr/bin/ld: cannot find -lz
  collect2: ld returned 1 exit status
  make[1]: *** [../blib/arch/auto/DBD/mysql/mysql.so] Error 1
  make[1]: Leaving directory
`/root/.cpan/build/Msql-Mysql-modules-1.2215/mysql'
  make: *** [subdirs] Error 2
    /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
  Bundle summary: The following items in bundle Bundle::DBD::mysql had
  installation problems:
    Mysql DBD::mysql

If we install saying "no", the install works, but of course rt doesn't
<frown>.

Has anyone come up against this at all before?  Any ideas on where to
look?

All help appreciated.  Thanks.

Jeff
-- 
Jeff Lasman <jblists at nobaloney.net>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205




More information about the rt-users mailing list