From owner-freebsd-ports Fri Jul 21 3:45:26 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 8672A37B859 for ; Fri, 21 Jul 2000 03:45:17 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.106]) by blizzard.sabbo.net (8.9.1/8.9.3) with ESMTP id NAA26392; Fri, 21 Jul 2000 13:43:38 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.9.3/8.9.3) with ESMTP id NAA64350; Fri, 21 Jul 2000 13:45:09 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <397829B5.59231215@FreeBSD.org> Date: Fri, 21 Jul 2000 13:45:09 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: "Jose M. Alcaide" Cc: ports@FreeBSD.org Subject: Re: xforms-0.89 depends on compat/libc.so.3 ? References: <3978269D.6F1709D3@we.lc.ehu.es> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "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