Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9397 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92765 invoked by uid 1010); 19 Apr 2004 20:16:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92615 invoked from network); 19 Apr 2004 20:16:02 -0000 Received: from unknown (HELO lt1.firehawksystems.com) (64.71.143.247) by pb1.pair.com with SMTP; 19 Apr 2004 20:16:02 -0000 Received: from [10.0.0.2] (pcp955202pcs.bechgr01.in.comcast.net [68.57.213.101]) (authenticated bits=0) by lt1.firehawksystems.com (8.12.10/8.12.10) with ESMTP id i3JKG1VG002792 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 19 Apr 2004 13:16:02 -0700 In-Reply-To: <006501c42644$99ef87a0$8a02a8c0@tron> References: <812AE18A-922F-11D8-B1C7-003065F88EBA@firehawksystems.com> <006501c42644$99ef87a0$8a02a8c0@tron> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <5E178348-923E-11D8-B1C7-003065F88EBA@firehawksystems.com> Content-Transfer-Encoding: 7bit Cc: Date: Mon, 19 Apr 2004 15:15:57 -0500 To: "Wez Furlong" X-Mailer: Apple Mail (2.613) Subject: Re: [PHP-DEV] Changing the soname of libphp4.so From: list@firehawksystems.com ("Brian J. France") Nothing seemed to work, I tried adding that (and a few variations) before ./configure line and also tried editing the config.m4 for the sapi and adding it there. I did get it to work by hand editing the Makefile and changing the libphp4.la action. I changed: -o $@ to -o libphp4-embed.la and on the second line I changed: libphp4.la to libphp4-embed.la and it worked, so at least I have a way to do it. If there is an easier way to do it I would like to know, but at least I have a work around. Thanks, Brian On Apr 19, 2004, at 2:29 PM, Wez Furlong wrote: > Hey Brian, > > Would something as simple as this: > > LDFLAGS="-soname=libphp4-embed.so" ./configure ... > > work ? > > --Wez. > > ----- Original Message ----- > From: "Brian J. France" > To: > Sent: Monday, April 19, 2004 7:29 PM > Subject: [PHP-DEV] Changing the soname of libphp4.so > > >> Is there a easy way to change the internal soname? >> >> I need to build the embeded sapi with a different internal soname. >> Yes, I can rename libphp4.so (the embeded version) to >> libphp4-embed.so, >> but things that link with libphp4-embed.so will have a dependency of >> libphp.so because that is what the internal soname is. This is >> causing >> problems because it will then load the wrong shared library (wrong >> sapi) if we have libphp4-embed.so and libphp4.so (apache sapi). >> >> If there is no easy way, can you give me pointers on what I need to >> patch/hack to get it to work. I will just maintain another company >> specific patch. >> >> Thanks, >> >> Brian >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >