Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsf3' in load module 'APACHE_DST/libexec/mod_st (2792 Views)
Reply
Occasional Visitor
Pete RT
Posts: 3
Registered: ‎12-04-2009
Message 1 of 6 (2,792 Views)

/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!
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,894
Registered: ‎03-06-2006
Message 2 of 6 (2,792 Views)

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.
Please use plain text.
Esteemed Contributor
ranganath ramachandra
Posts: 375
Registered: ‎05-16-2003
Message 3 of 6 (2,792 Views)

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,894
Registered: ‎03-06-2006
Message 4 of 6 (2,792 Views)

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
Please use plain text.
Occasional Visitor
Pete RT
Posts: 3
Registered: ‎12-04-2009
Message 5 of 6 (2,792 Views)

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.
Please use plain text.
Occasional Visitor
Pete RT
Posts: 3
Registered: ‎12-04-2009
Message 6 of 6 (2,792 Views)

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

Closing thread.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation