From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 9A5613857038 for ; Thu, 26 May 2022 16:35:03 +0000 (GMT) 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 Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id u5ixnUz3hWi4QuGRkntoMw; Thu, 26 May 2022 16:34:48 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id uGRyn3usyE4biuGRynmpEq; Thu, 26 May 2022 16:35:02 +0000 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 Reply-To: cygwin@cygwin.com Subject: Re: missing php library dll Content-Language: en-CA To: cygwin@cygwin.com References: <608093870.3414262.1653580631963.ref@mail.yahoo.com> <608093870.3414262.1653580631963@mail.yahoo.com> From: Brian Inglis Organization: Systematic Software In-Reply-To: <608093870.3414262.1653580631963@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2022 16:35:05 -0000 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.]