I have Suse 9.0 with gcc3.3.1 (didn't have any problem with the previous version of gcc )and when I run make install I get the following error: /usr/lib/gcc-lib/i586-suse-linux-/3.3.1/../../../.../i586-suse-linux/bin/ld: cannot find -lz Any help would be appreciated. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040223/2813fe13/attachment.htm
Make sure that zlib is installed and its location is in your LD_LIBRARY_CONFIG path (or /etc/ld.so.conf, at least on RH it's that file, I assume that SuSE is the same). This package would be on your SuSE CD(s), it's pretty much a base Linux package. Greg ----- Original Message ----- From: "Dan Fernandez" <danfernandez00@hotmail.com> To: <asterisk-users@lists.digium.com>; <asterisk-devel@lists.digium.com> Sent: Monday, February 23, 2004 6:07 PM Subject: [Asterisk-Users] cdr_addon_mysql problem linking I have Suse 9.0 with gcc3.3.1 (didn't have any problem with the previous version of gcc )and when I run make install I get the following error: /usr/lib/gcc-lib/i586-suse-linux-/3.3.1/../../../.../i586-suse-linux/bin/ld: cannot find -lz Any help would be appreciated. Dan
Dan Fernandez
2004-Feb-23 16:31 UTC
[Asterisk-Users] FIXED : cdr_addon_mysql problem linking
I finally figured it out. Had to install zlib-devel package. sorry for the posting, but it was driving me nuts. ----- Original Message ----- From: Dan Fernandez To: asterisk-users@lists.digium.com ; asterisk-devel@lists.digium.com Sent: Monday, February 23, 2004 8:07 PM Subject: [Asterisk-Users] cdr_addon_mysql problem linking I have Suse 9.0 with gcc3.3.1 (didn't have any problem with the previous version of gcc )and when I run make install I get the following error: /usr/lib/gcc-lib/i586-suse-linux-/3.3.1/../../../.../i586-suse-linux/bin/ld: cannot find -lz Any help would be appreciated. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040223/7793a3d5/attachment.htm