tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libtool help needed - wip/qcad v3.15.4



On Mon, Aug 01, 2016 at 10:23:20AM +0100, Iain Hibbert wrote:
> On Fri, 29 Jul 2016, Iain Hibbert wrote:
> 
> > I've updated the QCad package in wip somewhat and the program now starts 
> > and displays the splash screen but there is a problem in that libtool 
> > refuses to install 4 lib files and I can't work out why
> > 
> > I have put all the details in TODO but basically it refuses to install the 
> > libraries (the Makefile does this manually, as the package does not 
> > install anything itself) because it 'cannot install to a directory not 
> > ending in /'
> > 
> > I've been trying to see what is different from the files it refuses to 
> > install versus the ones it did and I don't see it, except that they all 
> > depend on a couple of other libs which libtool also complains about when 
> > linking
> > 
> > *** Warning: Linking the shared library ../../../plugins/libqcadexample.la
> >    against the loadable module
> > *** libspatialindexnavel.so is not portable!
> > 
> > so I'm wondering if that is an issue .. any libtool experts got any tips?
> 
> following up on this: I think, that this was because the files were not 
> being satisfactorily linked/installed by the project build system before 
> it attempted to link them into another module
> 
> I have worked around it by patching all the linking arguments like this
> 
> 	-L${ROUTDIR} -lspatialindexnavel
> 
> to use direct references to the files in question, like this
> 
> 	${ROUTDIR}/libspatialindexnavel.so
> 
> and all this links without complaints now, QCad 3.15.4.1 is running though 
> there are still some problems with it

That should not be necessary and the above is only a warning anyway. It
exists because as the text says, such use doesn't work on all systems.
But I don't think we care that much about systems where it doesn't work
either, they are much likely to have far bigger issues e.g. in Qt
itself.

Joerg


Home | Main Index | Thread Index | Old Index