bugvile, a vi-compatible text editor - Bugs: bug #62785, dlsym detection for...


bug #62785: dlsym detection for --enable-plugins on macOS

Submitter:  None
Submitted:  Tue 19 Jul 2022 03:31:20 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Tue 27 Dec 2022 12:38:46 AM UTC, comment #2: 

I made the fix in 9.8x (released today).

Thomas Dickey <dickey>
Group administrator
Tue 19 Jul 2022 07:46:43 PM UTC, comment #1: 

I last tried using dynamic loading with MacOS in January 2020,
with gcc -- and it didn't work.  Perhaps newer gcc or clang can
do this now.

Thomas Dickey <dickey>
Group administrator
Tue 19 Jul 2022 03:31:20 PM UTC, original submission:  

When using --enable-plugins on macOS, the configure script fails because "export-dynamic" is not supported.  Setting the value of cf_cv_gcc_opt_rdynamic in the environment has no effect.

It seems to work fine by simply not passing this option.

Here is the problematic section of configure.in:

if test "$enable_plugins" != no ; then                         
   if test "$GCC" = yes ; then                                
       LDFLAGS="$LDFLAGS -export-dynamic"                     
   # TODO: how to do with other compilers ? can libtool help ?



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-27 dickey StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-8484.
    Corresponding source code