Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 22:39:15 -0400 (EDT)
From:      "Russell D. Murphy" <rdmurphy@dunquin.bu.edu>
To:        freebsd-emulation@freebsd.org
Subject:   Linux emulation for 2.1.6/stata
Message-ID:  <199704250239.WAA00346@dunquin.bu.edu>

next in thread | raw e-mail | index | archive | help
I'm having trouble using the Linux version of a statistics
package called stata.  I've been using Release 4 of stata
(the prior version) successfully under FreeBSD 2.1.0 and
2.1.6, but need to upgrade to stata Release 5.  I'm waiting
for the Walnut Creek 2.2.[?] CD, but would really like to
get this version of stata running now.

The symptoms are:

1. Installation involve copying files to /usr/local/stata

2. Starting up the program after installation generates:

dunquin# /usr/local/stata/stata
/usr/local/stata/stata: using incompatible library '/lib/libc.so.4'
        Desire minor version >= 6 and found 5
/usr/local/stata/stata: using incompatible library '/lib/libm.so.4'
        Desire minor version >= 6 and found 5
LINUX: 'ioctl' fd=0, typ=0x54(T), num=0x5 not implemented

  ___  ____  ____  ____  ____ tm
 /__    /   ____/   /   ____/
___/   /   /___/   /   /___/    5.0   Copyright 1984-1997
  Statistics/Data Analysis            Stata Corporation
                                      702 University Drive East
                                      College Station, Texas 77840 USA
                                      800-STATA-PC        http://www.stata.com
                                      409-696-4600        stata@stata.com
                                      409-696-4601 (fax)

Single-user Linux perpetual license:
       Serial number:  LI-125042120
         Licensed to:  Russell D. Murphy, Jr.
                       Hingham, Massachusetts

Notes:
      1.  (-k### option) 1024K bytes allocated to data
      2.  Command line editing enabled
--more--Undefined C library functions:
        1. light C shared image (Use the real one instead.)
dunquin# 

(the ioctl message would be nice to clear up, but shouldn't
 prevent me from running stata - at least it didn't prevent
 me from running Release 4)

3.  /compat/linux/lib contains:

total 4607
< stuff deleted >
lrwxr-xr-x  1 root  wheel      14 Mar 19  1996 libc.so.4 -> libc.so.4.5.26
-rwxr-xr-x  1 root  wheel  623620 Nov  9  1994 libc.so.4.5.26
-rwxr-xr-x  1 root  wheel  562683 May 18  1995 libc.so.5.0.9
< stuff deleted >
lrwxr-xr-x  1 root  wheel      14 Mar 19  1996 libm.so.4 -> libm.so.4.5.26
-rwxr-xr-x  1 root  wheel  107524 Nov  9  1994 libm.so.4.5.26
-rwxr-xr-x  1 root  wheel   35942 May 18  1995 libm.so.5.0.0
< stuff deleted >

4. So, I picked up new linux versions of libc.so.4 and libm.so.4:

total 9214
< stuff deleted >
lrwxr-xr-x  1 root  wheel      35 Apr 24 22:26 libc.so.4 -> /compat-old/linux/lib/libc.so.4.7.5
-rwxr-xr-x  1 root  wheel  623620 Nov  9  1994 libc.so.4.5.26
-rwxr-xr-x  1 root  wheel  562683 May 18  1995 libc.so.5.0.9
lrwxr-xr-x  1 root  wheel      36 Apr 24 22:26 libm.so.4 -> /compat-old/linux/lib/libm.so.4.6.27
-rwxr-xr-x  1 root  wheel  107524 Nov  9  1994 libm.so.4.5.26
-rwxr-xr-x  1 root  wheel   35942 May 18  1995 libm.so.5.0.0
< stuff deleted >

5. Unfortunately, now all I get is a core dump:

dunquin# stata
Segmentation fault (core dumped)
dunquin# 


Does anyone have any suggestions?

Thanks-

Russ Murphy

Russell D. Murphy
Department of Economics
Boston University
270 Bay State Road
Boston, Massachusetts
(617) 353-4032
rdmurphy@bu.edu




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