apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41386] - apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX
Date Wed, 31 Oct 2007 13:01:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41386


eaepstein@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From eaepstein@gmail.com  2007-10-31 06:01 -------
Actually, I did reply to Joe on the apr-dev list back in April. These are added
below. I'm shocked (SHOCKED!) that the behavior for apr_dso_load would not
include searching the current system library load path. It works correctly, that
is it follows the path for Linux and Windows, just broken for Mac because it is
using an antiquated Mac OS9 based API.

Eddie

-------------------------
From	"Eddie Epstein" <eaepst...@gmail.com>
Subject	Fwd: [Bug 41386] - apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX
Date	Fri, 18 May 2007 13:59:22 GMT

Finally got access to the OSX machine. config.log reported:
  configure:11077: checking whether the gcc linker (/usr/bin/ld)
supports shared libraries
  configure:11973: result: yes
  configure:12044: checking dynamic linker characteristics
  configure:12598: result: darwin8.8.1 dyld

The change to make apr_dso_load this work properly is:

diff dso.c*
27,32d26
< #if defined(DSO_USE_DYLD)
< #define DSO_USE_DLFCN
< #undef DSO_USE_DYLD
< #endif
<
<

Regards,
Eddie

---------- Forwarded message ----------
From: Eddie Epstein <eaepstein@gmail.com>
Date: Apr 27, 2007 5:49 PM
Subject: [Bug 41386] - apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX
To: dev@apr.apache.org


Hi,

Unfortunately I have lost access to the Mac used for development and
cannot check the output of configure. I will try to get back access to
the machine in order to check the configure log.

 There are two other pieces of information that could be of interest.
First, a small C program using dlopen() respected DYLD_LIBRARY_PATH
properly. Second, the v1.2.7 apr built and installed by Darwin ports
also had a broken apr_dso_load().

Regards,
Eddie

------- Additional Comments From jorton@redhat.com  2007-04-26 09:26 -------
The autoconf code was explicitly written to check for dyld.  Are you sure there
are no Darwin platforms which e.g. have a present but broken dlopen?  Can you
bring this up on dev@apr?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message