solaris 9 ld, problems finding library

From: Thomas Bader (thomasb-sun-sunmanagers@dawnlink.net)
Date: Fri Mar 14 2003 - 08:30:40 EST


Hi there

Just compiled Apache 2.0.44 on my Solaris 9 system. When I
try to start it, I get:

knox# echo $LD_LIBRARY_PATH
/usr/lib:/usr/openwin/lib:/lib:/usr/ucblib:/sw/lib:/usr/local/lib
knox# bin/apachectl configtest
Syntax error on line 236 of /sw/pkgs/httpd-2.0.44/conf/httpd.conf:
Cannot load /sw/pkgs/httpd-2.0.44/modules/mod_auth_digest.so into server: ld.so.1: /sw/pkgs/httpd-2.0.44/bin/httpd: fatal: relocation error: file /sw/pkgs/httpd-2.0.44/modules/mod_auth_digest.so: symbol __floatdidf: referenced symbol not found

mod_auth_digest.so is linked against -ldl and uses dlopen()
to dynamically load some libraries. There's a symbol
__floatdidf in /sw/lib:

knox# grep __floatdidf /sw/lib/*
Binary file /sw/lib/libgcc_s.so matches
Binary file /sw/lib/libgcc_s.so.1 matches

Now I'm just wondering, why the linker cannot find the
library containing __floatdidf. LD_LIBRARY_PATH contains
/sw/lib.

What am I doing wrong?

Cheers

-- 
<https://trash.net/~thomasb/>   PGP and OpenPGP encrypted mail preferred.
"A million dead poets would gladly attest: heart-ache's a keepsake
 to remind us we're living."
	-- Skyclad - Isn't What It Used To Be
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:59 EDT