Return-Path: Delivered-To: apmail-xerces-c-users-archive@www.apache.org Received: (qmail 44043 invoked from network); 19 Nov 2005 02:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Nov 2005 02:18:40 -0000 Received: (qmail 55481 invoked by uid 500); 19 Nov 2005 02:18:39 -0000 Delivered-To: apmail-xerces-c-users-archive@xerces.apache.org Received: (qmail 55463 invoked by uid 500); 19 Nov 2005 02:18:39 -0000 Mailing-List: contact c-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-users@xerces.apache.org Delivered-To: mailing list c-users@xerces.apache.org Received: (qmail 55452 invoked by uid 99); 19 Nov 2005 02:18:39 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 18:18:38 -0800 Message-ID: <437E8B26.3030706@apache.org> Date: Fri, 18 Nov 2005 18:17:10 -0800 From: David Bertoni User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: c-users@xerces.apache.org Subject: Re: Can the Makefile be changed to compile directly only one library named libxerces-c.so ? References: <75A70F733E36B648A492A827EFA3B840A66AF0@lisi053a.siemens.pt> In-Reply-To: <75A70F733E36B648A492A827EFA3B840A66AF0@lisi053a.siemens.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rafael Sousa (Ext_Altior) wrote: > Hi David! > > But do you think that changing the Makefiles by hand so that the > resulting lib is directly named libxerces-c.so, and not > libxerces-c.so.27.0, will solve my problem, i.e., I will no longer get > these kind of errors that ask for libxerces-c.so.27 ? > > By the way, my platform is Solaris. > It's probably easier for you to just modify the Solaris-specifc section of src/xercesc/Makefile.incl to modify the LD_SONAME variable. You can change the following: LD_SONAME = -h ${SO_NAME} to: LD_SONAME = -h libxerces-c.so Note that you should be very careful about doing this is you plan to distribute your binary, or you expect it to work correctly on a system that has multiple versions of Xerces-C on it. Dave