Operating System - HP-UX
1748163 Members
3685 Online
108758 Solutions
New Discussion юеВ

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

 
Pete RT
New Member

/usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

I am receiving the following error when I try to run Apache HTTP server v1.3.41 on HP-Unix 11:

/usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_status.so'.
Syntax error on line 211 of APACHE_DST/conf/httpd.conf:
Cannot load APACHE_DST/libexec/mod_status.so into server: Unresolved external
APACHE_DST/bin/apachectl start: httpd could not be started


The system details are as follows:
$> uname -aimnrsv
HP-UX hpux03 B.11.31 U ia64 unlimited-user license


gcc version 3.4.4 was used to build Apache


Any help would be greatly appreciated!
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

>Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_status.so'.

This probably says you didn't link your shlib properly. Either you were giving a broken makefile or something else. I think either a missing shlib or in the wrong order?

If you look for similar gcc unsat here, you'll see where I found the solution.
ranganath ramachandra
Esteemed Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

You need Apache linked with the shared version of libgcc instead of the archive version.

Apache dynamically loads shared library modules such as your "status" module. These are typically not present at link time, so the libgcc symbols that they refer to are not necessarily pulled in at link time from the archived libgcc. Since the executable does not depend on shared libgcc, there is no way to resolve these symbols at runtime. Using the shared libgcc solves this problem.
 
--
ranga
[i work for hpe]

Accept or Kudo

Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

>ranganath: You need Apache linked with the shared version of libgcc instead of the archive version.

This isn't likely to help since __divsf3 is in the GNU equivalent of milli.a, where these symbols aren't exported.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1140627
Pete RT
New Member

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

The solution to this problem was to use gcc v4.3.3 rather than v3.4.4.

Thanks for all the replies.
Pete RT
New Member

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st

Closing thread.