Hi Ryan Carsten,

thanks a lot for providing the patch. I have applied it and
it should be contained in *SVN 1893*.

However, ./configure is generated (by autoconf or autoreconf),
so it will be lost every time myself or a GNU APL user runs
autoconf or autoreconf.

I believe a cleaner way to solve this issue is that apple users
run autoreconf on their machine to create a ./configure that
is up-to-date with their autoconf and libtool.

Before applying your patch I updated my local autoconf and libtool
packages to the latest version in my Debian check-out (by means of
apt-get install --reinstall). I believe that there is little more that I can
do for apple users.

Please let me know if everything works now.

Best Regards,
Jürgen Sauermann


On 9/22/25 05:18, Ryan Carsten Schmidt wrote:
URL:
   <https://savannah.gnu.org/bugs/?67540>

                  Summary: Undefined symbols on macOS 12 and later
                    Group: GNU APL
                Submitter: ryandesign
                Submitted: Mon 22 Sep 2025 03:17:56 AM UTC
                 Category: None
                 Severity: 3 - Normal
                 Priority: 5 - Normal
               Item Group: None
                   Status: None
                  Privacy: Public
              Assigned to: None
              Open/Closed: Open
          Discussion Lock: Any


     _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 22 Sep 2025 03:17:56 AM UTC By: Ryan Carsten Schmidt <ryandesign>
apl 1.9 fails to build on the last five years worth of macOS versions (12, 13,
14, 15, and 26).

Undefined symbol errors occur at link time because the flags "-Wl,-undefined
-Wl,dynamic_lookup" have not been added.

This is due to a libtool bug which has been baked into your configure script:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605

The libtool bug has been fixed. When preparing your next release tarball,
please ensure you install the latest stable version of libtool prior to
generating your configure script so that this bug is not present in your
tarball.

For users wanting to compile apl 1.9, or if you can't update libtool and need
to fix your next configure script manually, the configure script patch is
attached.






     _______________________________________________________
File Attachments:

Name: dynamic_lookup-11.patch        Size: 478B
     <https://file.savannah.gnu.org/file/dynamic_lookup-11.patch?file_id=57675>



     AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-56ca6ff7c273a5e41f64c465a4a4e1c215b9b4f2.tar.gz

     _______________________________________________________

To reply to this notification, you have two options:
* In the Web UI at<https://savannah.gnu.org/bugs/?67540>.
* By email to 92544-bugs-savannah<[email protected]>, ONLY IF you 
preserve both
   the 'display name' and the 'address specification' in the To: header
   AND you sign your email with a GPG key registered in your Savannah account
   AND you include the following line in the reply:

   {savane: user = 92544; tracker = bugs; item = 67540}

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Reply via email to