>Number:         2587
>Category:       general
>Synopsis:       problems linking shared modules
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jul 10 14:30:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.0
>Environment:
Solaris 2.6, gcc 2.7.2.2
>Description:
Configure automatically detects the libdb.a is needed for mod_auth_db.  But
if you tell configure to make mod_auth_db as a shared module, it does not put
-ldb on the line that links mod_auth_db into a shared object.  When you load
the module, you get "dbopen: referenced symbol not found"

Also, for Sparc V8 chips, there are no 64 bit arithmetic opcodes, so gcc
uses library routines for these.  Since shared objects are linked via ld,
this library is not linked so at load time you get "_moddi3: referenced symbol
not found"
>How-To-Repeat:

>Fix:
Former, not sure.
Latter, let gcc invoke ld instead of doing it directly.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to