From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TSWMO-0007TZ-0g for ptxdist@pengutronix.de; Sun, 28 Oct 2012 18:09:16 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TSWMO-0007LC-09 for ptxdist@pengutronix.de; Sun, 28 Oct 2012 18:09:16 +0100 Date: Sun, 28 Oct 2012 18:09:15 +0100 From: Michael Olbrich Message-ID: <20121028170915.GC22246@pengutronix.de> References: <5a9dfd144d5a6ea0605eb1762719b078@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5a9dfd144d5a6ea0605eb1762719b078@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] regression linking against libcgi after fixing patches in a53b663 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Wed, Oct 24, 2012 at 11:05:16AM +0200, Alexander Dahl wrote: > in commit a53b663 a typo in Makefile of LibCGI was fixed, actually in > the patches fixing various things in LibCGI. This sets the soname of the > library to libcgi.so.0 in the options passed to the linker. However this > libcgi.so.0 is never installed but libcgi.so instead. This does work at > build time when compiling and linking against libcgi but at runtime this > fails because libcgi.so is installed in both install and targetinstall > stage but there's no libcgi.so.0 present on the target. > > I'm not familiar with autotools to fix this myself. Expected behaviour > would be some libcgi.so.x.y.z is installed and libcgi.so.x and libcgi.so > are symlinks of which only libcgi.so.x is installed to the target. If I > rename libcgi.so on my target to libcgi.so.0.0.0 and create a symlink > libcgi.so.0 my cgis work again. I think I fixed this now, but I can't test it. Please try. > by the way: the author of the libcgi library moved the code from > sourceforge to github [1] and kindly responses to mails, bug reports und > pull requests. I'll ask him how he plans to proceed with this long dead > project and I'll share the result here. He already integrated the > changes and fixes of the patches ptxdist carries in the master branch (I > integrated those in one single commit in my personal fork and made a > pull request in the expectation nobody would care, so sorry if you're > not getting your credits.) I'll come up with some other patches fixing > some things in the lib. I would share these with ptxdist as well and > hope we could work toward some bugfix release 1.x of the lib integrating > all the current changes to get rid of the patches. What's your opinion > about this? That sounds good. Especially the part about a release. I always like it when I can remove patches from ptxdist. If someone is actually working on this, I really suggest cleaning up the build system. If you don't know enough about this, then look at libabc[1]. This is a good place to get started with this. Michael [1] http://0pointer.de/blog/projects/libabc.html -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de