|
From: | Papa San |
Subject: | Re: smsd compilation using mysql (dependecies?) |
Date: | Thu, 26 Jun 2003 11:51:42 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 |
BORBELY Zoltan wrote: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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You have to install the development part of the zlib library. I don'tYou've put the right finger on it. Thanks a lot man! It all works perfect now. So it needs zlib-devel as wel. I already installed glib-devel. The error message I got initialy was more clear for me than the last one. Best regards, Papa |
[Prev in Thread] | Current Thread | [Next in Thread] |