Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #325

Re: Linking problem

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Linking problem
Date 2011-12-15 09:39 +0000
Message-ID <8762himaw3.fsf@sapphire.mobileactivedefense.com> (permalink)
References <20111215001104.13eda1b8@efreet.linux>

Show all headers | View raw


Kevin Nathan <knathan@project54.com> writes:
> I have just been tasked with maintaining a KDE/Qt app originally
> written in 2004/2005 and parts of it updated in 2009. It is currently
> compiling on a KDE 3.5.7 and Qt 3.0 system and needs to be able to run
> on systems with various versions of KDE. The previous maintainer left
> no notes on how he was doing this. The current autoconf/automake system
> does not allow running on slightly older systems or newer KDE
> 4.x/Qt4.0, at least not when I compile it. We have some clients that
> are running the older systems and we cannot make them upgrade, so I am
> stuck trying to support them.

Chances are that the -rpath or -R linker options do what you
need. You'll have to ship the libraries and the binaries which need
them and know the place where the libraries will be installed. The
compiler will also need suitable -I options to find the 'custom'
headers and the linker additional -L to find them at link time.

Provided autosorrow is being used correctly (almost a contradictio in
adiecto, it seems ...), all of this should be settable by passing
suitable LDFLAGS and CFLAGS environment variables to the configure
invocation.

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Linking problem Kevin Nathan <knathan@project54.com> - 2011-12-15 00:11 -0700
  Re: Linking problem Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-15 09:39 +0000
    Re: Linking problem Kevin Nathan <knathan@project54.com> - 2011-12-15 16:29 -0700
      Re: Linking problem Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-16 00:47 +0000
        Re: Linking problem Kevin Nathan <knathan@project54.com> - 2011-12-15 23:42 -0700
          Re: Linking problem Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-16 17:46 +0000
            Re: Linking problem Kevin Nathan <knathan@project54.com> - 2011-12-16 10:55 -0700
            Re: Linking problem Kevin Nathan <knathan@project54.com> - 2012-01-01 10:49 -0700
          Re: Linking problem Lusotec <nomail@nomail.not> - 2011-12-19 00:27 +0000
            Re: Linking problem Kevin Nathan <knathan@project54.com> - 2011-12-19 10:16 -0700

csiph-web