Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 13:45:09 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        "Jose M. Alcaide" <jose@we.lc.ehu.es>
Cc:        ports@FreeBSD.org
Subject:   Re: xforms-0.89 depends on compat/libc.so.3 ?
Message-ID:  <397829B5.59231215@FreeBSD.org>
References:  <3978269D.6F1709D3@we.lc.ehu.es>

next in thread | previous in thread | raw e-mail | index | archive | help
"Jose M. Alcaide" wrote:

> I have just updated xforms from 0.88.1 to 0.89, and also rebuilt
> the lyx-1.1.5 port. When linking lyx, these messages appear:
>
> /usr/libexec/elf/ld: warning: libc.so.3, needed by /usr/X11R6/lib/libforms.so, may conflict with libc.so.4
> /usr/lib/compat/libc.so.3: warning: mktemp() possibly used unsafely; consider using mkstemp()
> /usr/lib/compat/libc.so.3: warning: tempnam() possibly used unsafely; consider using mkstemp()
> /usr/lib/compat/libc.so.3: warning: this program uses gets(), which is unsafe.
> /usr/lib/compat/libc.so.3: WARNING!  setkey(3) not present in the system!
> /usr/lib/compat/libc.so.3: WARNING!  des_setkey(3) not present in the system!
> /usr/lib/compat/libc.so.3: WARNING!  encrypt(3) not present in the system!
> /usr/lib/compat/libc.so.3: WARNING!  des_cipher(3) not present in the system!
> /usr/lib/compat/libc.so.3: warning: this program uses f_prealloc(), which is stup
>
> And "ldd /usr/local/bin/lyx" shows:
>
> /usr/local/bin/lyx:
>         libintl.so.1 => /usr/local/lib/libintl.so.1 (0x28246000)
>         libforms.so => /usr/X11R6/lib/libforms.so (0x2824a000)
>         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2831b000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2832c000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28337000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28356000)
>         libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28449000)
>         libm.so.2 => /usr/lib/libm.so.2 (0x28488000)
>         libc.so.4 => /usr/lib/libc.so.4 (0x284a4000)
>         libc.so.3 => /usr/lib/compat/libc.so.3 (0x28539000)
>
> I think this did not happen when using xforms-0.88.1. In fact, the ldd
> command shows that a lyx-1.1.5 built on another system (linked to
> xforms-0.88.1) does not depend on libc.so.3. However, despite this
> strange phenomenom, lyx seems to work fine. But anyway, that dependency
> on compat3x is ugly, very ugly.

This sort of behaviour is unavoidable with binary-only software, unless author is cute enough to link it with
libc.a instead.

-Maxim




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?397829B5.59231215>