Bug 66561 - The build fails with slibtool
Summary: The build fails with slibtool
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.56
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-09 19:17 UTC by orbea
Modified: 2023-04-10 02:18 UTC (History)
1 user (show)



Attachments
Build fix patch (594 bytes, patch)
2023-04-09 19:17 UTC, orbea
Details | Diff
Build log (32.17 KB, text/x-log)
2023-04-09 19:17 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2023-04-09 19:17:24 UTC
Created attachment 38534 [details]
Build fix patch

When building with slibtool instead of GNU libtool the user should be using the rlibtool symlink which will correctly determine if building shared or static libraries from the libtool generated by autotools from LT_INIT in configure.in.

However apache-httpd doesn't call LT_INIT and the generated libtool doesn't exist causing the build to fail. LT_INIT can be simply added to configure.in as shown in the attached patch which will result in the build working just fine with both GNU libtool and slibtool, but with GNU libtool it will end up using the generated libtool rather than /usr/share/apr/build/libtool from the apr package so I am unsure if that is the idea solution?

This was reported for Gentoo here. https://bugs.gentoo.org/858836
Comment 1 orbea 2023-04-09 19:17:44 UTC
Created attachment 38535 [details]
Build log