From owner-freebsd-questions Tue Sep 18 10:39:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from truemetal.org (destruction.truemetal.org [206.168.16.98]) by hub.freebsd.org (Postfix) with SMTP id 46D1337B401 for ; Tue, 18 Sep 2001 10:39:33 -0700 (PDT) Received: (qmail 32156 invoked by alias); 18 Sep 2001 17:31:01 -0000 Received: from unknown (HELO truemetal.org) (213.23.52.196) by truemetal.org with SMTP; 18 Sep 2001 17:31:01 -0000 Message-ID: <3BA78689.1F055A6A@truemetal.org> Date: Tue, 18 Sep 2001 19:38:17 +0200 From: universe X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: linux compat: libc.so.6 conflicts with libc.so.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all, a buddy wants me to test if a game that he is programming on compiles successfully under freebsd (4.3-stable, 8/23/01). he did all the programming on a linux system, and the game requires sdl-1.2.x,, sdl_image-1.2.x and POSIX threads. now, after i adjust his Makefile to my system needs (path to sdl, jpeg etc. libraries and includes) i still have to merge the linux library path (/usr/compat/linux/lib/) into the linker's cache. that's because the linux POSIX threads libraries are located in this directory (the game isn't yet ported to freebsd, of course). now, when i try to compile the thing ld reports me: /usr/libexec/elf/ld: warning: libc.so.6, needed by /usr/compat/linux/lib/libpthread-0.8.so, may conflict with libc.so.4 obviously it's a problem to ld that there are 2 versions of libc.so in the linker cache at that time. one from the linux compat directory and another one from the native freebsd system. any hints? thanks, any input is appreciated :) markus -- there's the microsoft way, there's the linux way, and there's the right way. -- freebsd, the winner's choice. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message