Re: Problems compiling kannel 1.2.1 - libxml2

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

On Fri, 25 Jun 2004 06:41:50 +0200, Andrew Chong wrote:
...
> After installing libxml2-devel-2.4.19-2.i386.rpm
> the ./configure completed with
...
> which I am assuming is successful.
...
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status

$ rpm --redhatprovides /usr/lib/libz.so
zlib-devel-1.1.4-8

Therefore install some appropriate zlib-devel package of RedHat AS.

...
> If this problem is Kannel specific, for which you do not have an answer,
> I thank you anyway. Your advice at least got me further than where I was.

Submit it to RedHat Bugzilla. I expect libxml2 inserted that -lz there (look at
/usr/lib/libxml2.la). In such case libxml2-devel should "Requires" zlib-devel.


Regards,
Lace

-- 
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.