*BSD News Article 94462


Return to BSD News archive

From: rdmurphy@bu.edu (Russell Murphy)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Linux libs/FreeBSD 2.1.6
Date: 25 Apr 1997 14:44:02 GMT
Organization: Boston University
Lines: 95
Message-ID: <396BE5B36D497D3F.1330D560727EB8B1.986C12272F25DE5F@library-proxy.airnews.net>
X-Orig-Message-ID: <5jqfvi$jp7@news.bu.edu>
NNTP-Proxy-Relay: library.airnews.net
NNTP-Posting-Host: dal60-9.ppp.iadfw.net
X-Newsreader: TIN [version 1.2 PL2]
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!news-feed.inet.tele.dk!cpk-news-hub1.bbnplanet.com!howland.erols.net!news-peer.sprintlink.net!news.sprintlink.net!sprint!uunet!in1.uu.net!206.66.12.35!news-in.iadfw.net!pcrown.net!news-in.iadfw.net!newshost.cyberramp.net!news-out.internetmci.com!newsfeed.internetmci.com!news.msfc.nasa.gov!news.maxwell.syr.edu!cam-news-hub1.bbnplanet.c
om!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newshub2.home.com!newshub1.home.com!news.home.com!nick.arc.nasa.gov!purdue!news.bu.edu!acs5.bu.edu!rdmurphy
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39752

(I submitted this to the -emulation mailing list last
 night and apologize if you're subjected to it twice.)

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