Re: general/2587: problems linking shared modules

1999-02-21 Thread lars
[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. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.  ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]


Synopsis: problems linking shared modules

State-Changed-From-To: open-feedback
State-Changed-By: lars
State-Changed-When: Sat Feb 20 17:31:45 PST 1999
State-Changed-Why:
[This is a standard response.]
This Apache problem report has not been updated recently.
Please reply to this message if you have any additional
information about this issue, or if you have answers to
any questions that have been posed to you.  If there are
no outstanding questions, please consider this a request
to try to reproduce the problem with the latest software
release, if one has been made since last contact.  If we
don't hear from you, this report will be closed.
If you have information to add, BE SURE to reply to this
message and include the [EMAIL PROTECTED] address so it
will be attached to the problem report!



general/2587: problems linking shared modules

1998-07-10 Thread Ron Klatchko

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. ]