Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 10:58:42 -0500 (EST)
From:      Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu>
To:        Jud <jud@myrealbox.com>
Cc:        Dan Nelson <dnelson@allantgroup.com>, Adam Weinberger <adam@vectors.cx>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: linux compatability broken
Message-ID:  <20020725100758.R65802-100000@dsl-146-127.resnet.purdue.edu>
In-Reply-To: <PL2XNIFJNHML98ZU5Z32ZVOLJQP82.3d3fd0a4@sparky>

next in thread | previous in thread | raw e-mail | index | archive | help
> I changed from 6 to 7.1 when -STABLE did using portupgrade, and
> managed not to break anything in the system, including Opera and
> Acrobat5.  Don't know whether it was just dumb luck, but as a general
> cure for running two versions of any port, especially linux_base, I tend
> to favor it.

Yeah, and were it not for Maple's explicit complaints about wanting
ld-linux.so.1 I might be in good shape.

As for installing both, I get tons of complaints when installing off the
ports because 6 and 7.1 have different versions of glibc and then the
ports makefile quits:

file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts
with file from package glibc-2.1.2-11 (apparently 6 uses 2.1.2-11 and 7.1
uses 2.1.2-10.  Should I change that to 2.1.2-11 in linux_base's
makefile?)

I just installed netscape-4.79 off the ports.

Let's do a little test:

So here we have linux_base7.1.

$ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB
executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared
libs), stripped

$ netscape
communicator-linux-4.79.bin: locale `C' not supported.
        Perhaps the $XNLSPATH environment variable is not set correctly?
No plugin Citrix ICA Client. Reverting to save-to-disk for type
application/x-ica.
Bus error (core dumped)

$ brandelf -t Linux
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin

$ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB
executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses
shared libs), stripped

$ netscape
communicator-linux-4.79.bin: locale `C' not supported.
        Perhaps the $XNLSPATH environment variable is not set correctly?
No plugin Citrix ICA Client. Reverting to save-to-disk for type
application/x-ica.
Bus error (core dumped)

# cd /usr/ports/emulators/linux_base; make deinstall
===>  Deinstalling for linux_base-7.1

# cd /usr/ports/emulators/linux_base-6; make install
(stuff)
===>   Registering installation for linux_base-6.1_1

$ netscape
No plugin Citrix ICA Client. Reverting to save-to-disk for type
application/x-ica.

--Executes perfectly.

# brandelf -t SVR4
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin

$ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB
executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared
libs), stripped

$ netscape
No plugin Citrix ICA Client. Reverting to save-to-disk for type
application/x-ica.

--Executes perfectly.

# kldload svr4.ko

$ netscape
ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
Abort trap

# brandelf -t Linux
/usr/local/lib/netscape-linux/communicator-linux-4.79.bin

$ netscape
No plugin Citrix ICA Client. Reverting to save-to-disk for type
application/x-ica.

--Executes perfectly


So it would seem communicator-4.79 is branded svr4 by default from the
ports, it will not execute under linux_base7.1 branded as either svr4 or
linux.  It will run under linux_base6 with either svr4 or linux brands if
svr4.ko is unloaded, but must be branded linux if svr4.ko is loaded.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020725100758.R65802-100000>