delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 9A5613857038 |
Authentication-Results: | sourceware.org; dmarc=none (p=none dis=none) |
header.from=SystematicSw.ab.ca | |
Authentication-Results: | sourceware.org; |
spf=none smtp.mailfrom=systematicsw.ab.ca | |
X-Authority-Analysis: | v=2.4 cv=YdeuWidf c=1 sm=1 tr=0 ts=628fac36 |
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 | |
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 | |
Message-ID: | <5578fbb0-2fad-e1bb-c440-b0b38fc2bdad@SystematicSw.ab.ca> |
Date: | Thu, 26 May 2022 10:35:01 -0600 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 |
Thunderbird/91.9.1 | |
Subject: | Re: missing php library dll |
To: | cygwin AT cygwin DOT com |
References: | <608093870 DOT 3414262 DOT 1653580631963 DOT ref AT mail DOT yahoo DOT com> |
<608093870 DOT 3414262 DOT 1653580631963 AT mail DOT yahoo DOT com> | |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Organization: | Systematic Software |
In-Reply-To: | <608093870.3414262.1653580631963@mail.yahoo.com> |
X-CMAE-Envelope: | MS4xfOPj7IVOmwxqNYtqXkqIOAEEPd9N1ouTddY8/arQNwmDT9AJ6rl0mr5j4DtOMJhlUfGtUpNAnDlqr9+mLKB9Oy2po75/76b1oPMyoqBlrM+u+36tmTkL |
+hPFufiMUNg5TlpVoLOowxChzS0yfMvEkZbmNbCISH1YFQLg8CSHQ5kqr+leJraX/zf8/c90j1oXGQot8T7fByNW+1LA50Lysqg= | |
X-Spam-Status: | No, score=-1164.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Reply-To: | cygwin AT cygwin DOT com |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 24QGZvSR014294 |
On 2022-05-26 09:57, Jim McNamara via Cygwin wrote: > I have tracked down the problem and wondering if you had a suggestion > to help me fix it. Is there any reason why the package on the mirror > doesn't have library -lphp7? Is there a way I can get one or do > something to solve this problem? I tried 2 different PhP package > versions on the mirror. > /bin/sh /home/user/amf3/libtool --mode=link cc -DPHP_ATOM_INC -I/home/user/amf3/include -I/home/user/amf3/main -I/home/user/amf3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2  -o amf3.la -export-dynamic -avoid-version -module -no-undefined -rpath /home/user/amf3/modules amf3.lo amf3-encode.lo amf3-decode.lo -lphp7 > *** Warning: linker path does not have real file for library -lphp7. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libphp7 but no candidates were found. (...for file magic test) > *** Warning: libtool could not satisfy all declared inter-library > *** dependencies of module amf3. Therefore, libtool will create > *** a static module, that should work as long as the dlopening > *** application is linked with the -dlopen flag. Did you install the Cygwin php-devel package which includes many /usr/lib/php/build/ files, /usr/lib/libphp7.dll.a, a couple of utilities, and their man pages, which you should read, and search for other docs on building against php under Cygwin? Did you install the Cygwin libtool package? Cygwin runtime packages mostly build only dynamic libraries, and php installs /usr/bin/cygphp7-7-3.dll, which cygwin libtool should find and use. You should also check the options available from configure e.g. --disable-static and --disable-rpath as rpath is not normally used in Cygwin builds IIRC. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |