Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118627 - HylaFAX configuration script fails to detect zlib.
Summary: HylaFAX configuration script fails to detect zlib.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 00:20 UTC by Tadeusz Andrzej Kadłubowski
Modified: 2006-01-11 02:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tadeusz Andrzej Kadłubowski 2006-01-11 00:20:33 UTC
I tried to emerge hylafax 4.2.3 with the newest ebuild.

It failed telling me that the following:
#include "zlib.h"
main()
{
    if (strcmp(ZLIB_VERSION, "0.95") < 0) {     /* include file version */
        printf("old include files: version %u\n", ZLIB_VERSION);
        exit(-1);
    }
    if (strncmp(zlib_version, ZLIB_VERSION, 4) != 0) {
        printf("library/header file incompatibility: %s %s\n",
        zlib_version, ZLIB_VERSION);
        exit(-1);
    } else {
        exit(0);
    }
}
failed either to compile or to run.

I compiled it manually (gcc -lz) and after being run it printed:
library/header file incompatibility: 1.1.4 1.2.3

Let me show You which zlib versions I have
root # ls -l /lib/libz*
lrwxrwxrwx  1 root root    13 Jan 11 09:02 /lib/libz.so.1 -> libz.so.1.2.3*
-rwxr-xr-x  1 root root 64712 Dec  2 08:52 /lib/libz.so.1.2.1*
-rwxr-xr-x  1 root root 68360 Jan 11 09:02 /lib/libz.so.1.2.3*
lrwxrwxrwx  1 root root    13 Jan 11 09:02 /lib/libz.so -> libz.so.1.2.3*
root # ls -l /usr/lib/libz*
lrwxrwxrwx  1 root root    13 Dec 22 12:50 /usr/lib/libz.so.1 -> libz.so.1.1.4*
-rwxr-xr-x  1 root root 54416 Dec  2 08:53 /usr/lib/libz.so.1.1.4*
-rw-r--r--  1 root root 83840 Jan 11 09:02 /usr/lib/libz.a
-rwxr-xr-x  1 root root   291 Jan 11 09:02 /usr/lib/libz.so*
(That's the state just after I unmerged and reemerged zlib, just to be sure.)

By now I will try making HylaFAX compile with the newest zlib in /lib.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-11 02:46:49 UTC
(In reply to comment #0)
> root # ls -l /usr/lib/libz*
> lrwxrwxrwx  1 root root    13 Dec 22 12:50 /usr/lib/libz.so.1 -> libz.so.1.1.4*
> -rwxr-xr-x  1 root root 54416 Dec  2 08:53 /usr/lib/libz.so.1.1.4*

You obviously have leftover orphaned cruft in /usr/lib

# equery files zlib
[ Searching for packages matching zlib... ]
* Contents of sys-libs/zlib-1.2.3:
/lib
/lib/libz.so -> libz.so.1.2.3
/lib/libz.so.1 -> libz.so.1.2.3
/lib/libz.so.1.2.3
/usr
/usr/include
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib
/usr/lib/libz.a
/usr/lib/libz.so
/usr/share
/usr/share/doc
/usr/share/doc/zlib-1.2.3
/usr/share/doc/zlib-1.2.3/ChangeLog.gz
/usr/share/doc/zlib-1.2.3/FAQ.gz
/usr/share/doc/zlib-1.2.3/README.gz
/usr/share/doc/zlib-1.2.3/txt
/usr/share/doc/zlib-1.2.3/txt/algorithm.txt.gz
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/zlib.3.gz