Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 00:40:37 +1100 (EST)
From:      Chris Keladis <chris@twilight.tpgi.com.au>
To:        freebsd-questions@freebsd.org
Subject:   libm.so weirdness.
Message-ID:  <XFMail.991216004037.chris@twilight.tpgi.com.au>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Something strange i've noticed trying to get apache running on a FreeBSD 3.3
STABLE box. 


FreeBSD twilight.tpgi.com.au 3.3-STABLE FreeBSD 3.3-STABLE #2: Sun Nov 21
18:43:22 EST 1999     root@twilight.tpgi.com.au:/usr/src/sys/compile/TWILIGHT 
i386


Apache 1.3.9 built out of the ports, which built cleanly, gives me this in the
log, when trying to run any cgi script.

ld.so failed: Can't find shared library "libm.so.2.0"


An ldconfig -r lists libm.so.2 as the following:


        4:-lm.2 => /usr/lib/libm.so.2


And an `ls /usr/lib/libm.so*`

lrwxr-xr-x  1 root  wheel       9 Dec  6 09:25 /usr/lib/libm.so -> libm.so.2
- -r--r--r--  1 root  wheel  120464 Dec  6 09:25 /usr/lib/libm.so.2
- -r--r--r--  1 bin   bin    112750 Mar 25  1998 /usr/lib/libm.so.2.0


And ldd outputs this from my httpd binary:


httpd:
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280ae000)
        libc.so.3 => /usr/lib/libc.so.3 (0x280b1000)



Am i missing something here? I've tried various httpd's out of the ports &
packages directories all having exactly the same problem.

I compared another FreeBSD system (it was 3.4-RC however) and the libm.so.2 bin
is the same size, and ldconfig -r returned the same as i'm seeing.


Does anyone have any clue whats going on?





Thanks,

Chris.


(PS: Please CC chris@cmc.cwo.net.au, as i dont have direct access to this list
at the moment, thanks.)





- -- "Failure is not an option, it comes bundled with your Microsoft product."


- ----------------------------------
Chris Keladis
Optus Cable & Wireless Administrator
E-Mail: Chris Keladis <chris@twilight.tpgi.com.au>
Local Date: 16-Dec-99
Local Time: 00:25:25
- ----------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOFeaVH26Uwt427DhEQJ7lACgk3K8LFGNynoW/EJBmMWvUV8JaGUAnjXQ
nChsRBp1TSRY195KOCrQoSGH
=9/MB
-----END PGP SIGNATURE-----


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?XFMail.991216004037.chris>