gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd compilation using mysql (dependecies?)


From: BORBELY Zoltan
Subject: Re: smsd compilation using mysql (dependecies?)
Date: Thu, 26 Jun 2003 10:29:47 +0200
User-agent: Mutt/1.4.1i

Hi,

On Thu, Jun 26, 2003 at 10:10:37AM +0200, Papa San wrote:
> Something goes wrong when I try to compile libmysql.so . Unfortunately I 
> don't know what.  Can anybody give me a clue?

[...]

> address@hidden smsd]# make libmysql.so
> gcc -s -shared -o libmysql.so -g -O2  -I../include 
> -DMODULES_DIR=\"/usr/local/lib/smsd\" -D_REENTRANT `glib-config 
> --cflags` -I../include \
> -I'/usr/include/mysql' mysql.c `glib-config --libs` -L'/usr/lib/mysql' 
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv 
> -lc -lnss_files -lnss_dns -lresolv
> /usr/bin/ld: cannot open -lz: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> collect2: ld returned 1 exit status
> make: *** [libmysql.so] Error 1

You have to install the development part of the zlib library. I don't
know which is the exact name of the package, Redhat calls it zlib-devel,
the other systems use similar names.

Bye,
Bozo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]