[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with Make and MySQL perl modules

"Ken Januski" <kenjanuski@mindspring.com> wrote:
>I downloaded msql-mysql-modules-1.2215.tar.gz today from CPAN. But when I
>ran make I got these errors:
>"LD_RUN_PATH -"/usr/local/....." cc -o
>/blib/arch/auto/DBD/mysql/mysql.so -shared -L/usr/local/lib dbdimp.o
>mysql.o -L/usr/local/lib/mysql -L/usr/local/lib/mysql -/mysqlclient -lm -lz 
>/usr/bin/ld: cannot find - lz
>collect2: ld returned 1 exit status"
>I think that the problem is related to linking but I'm not that familiar
>with compiling and linking file so I can't be sure. But whether it is or not
>the real question is how to get rid of the complaints about "cannot
>find -lz". At least I THINK that is the real question. Any help would be

That'll be the zlib compression library. You need to install the
zlib1g-dev package.


Colin Watson                                     [cjw44@flatline.org.uk]

Reply to: