[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnokii-users
Subject:    Re: smsd compilation using mysql (dependecies?)
From:       Papa San <papa_san () gmx ! net>
Date:       2003-06-26 9:51:42
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


BORBELY Zoltan wrote:

>>[root@grolsch 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't
>
>know which is the exact name of the package, Redhat calls it zlib-devel,
>the other systems use similar names.
>
>Bye,
>Bozo
>
>  
>
You'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


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
BORBELY Zoltan wrote:<br>
<blockquote type="cite" cite="mid20030626082947.GB1200@dolphin.home">
  <blockquote type="cite">
    <pre wrap="">[root@grolsch 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
    </pre>
  </blockquote>
  <pre wrap=""><!---->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  </pre>
</blockquote>
<blockquote type="cite" cite="mid20030626082947.GB1200@dolphin.home">You
have to install the development part of the zlib library. I don't<br>
  <pre wrap="">know which is the exact name of the package, Redhat calls it zlib-devel,
the other systems use similar names.

Bye,
Bozo

  </pre>
</blockquote>
You've put the right finger on it.<br>
<br>
Thanks a lot man!<br>
<br>
It all works perfect now.<br>
<br>
So it needs zlib-devel as wel. <br>
<br>
I already installed glib-devel. The error message I got initialy was
more clear for me than the last one. <br>
<br>
Best regards,<br>
<br>
Papa<br>
<br>
</body>
</html>


_______________________________________________
gnokii-users mailing list
gnokii-users@nongnu.org
http://mail.nongnu.org/mailman/listinfo/gnokii-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic