[rt-users] RH 7 RT 2 make fixdeps problems
Niall Brady
bradyn at maths.tcd.ie
Tue Feb 26 15:05:30 EST 2002
On Tue, 26 Feb 2002 12:13:28 MST, "Randy Millis (Lists Acct.)" said:
>
<snippity>
>
>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
>.96"
>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
You can see on line 4(?) up there that ld(1) is complaining about
'cannot find -lz'; as in zlib.
>zlib-1.1.3-22
It looks like you have zlib installed, but it may be hiding it's
libraries in an odd place... try doing a
locate libz.so
to see where that is, and then you will have to update your Makefile for
that directory probably... using '-L /usr/lib' or whatever, as part of
the gcc arguments.
<rtfm>
or maybe that can be done in the configure stage somewhere, I dunno
I'm lazy and it's ages since I've done it!
</rtfm>
--
Niall
More information about the rt-users
mailing list