all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Asteroth <alexander.asteroth@h-brs.de>
To: Andreas Enge <andreas@enge.fr>
Cc: help-guix@gnu.org
Subject: Re: How to handle concurrent QT versions
Date: Fri, 03 Mar 2023 09:47:42 +0100	[thread overview]
Message-ID: <87r0u66wz0.fsf@h-brs.de> (raw)
In-Reply-To: <ZAB2bI2U0wSEB06c@jurong>

Then it will probably be as easy (an cleaner) to make the program into a
"real" guix package with all the correct dependencies and install this package.

Cheers,
Alex

On Thu, Mar 02 2023, 11:11:56, Andreas Enge <andreas@enge.fr> wrote:

> Am Wed, Mar 01, 2023 at 09:14:27AM +0100 schrieb Alexander Asteroth:
>> guix packages but simply made them compile (after some manual changes to
>> the code) in my current environment. If I now run a `guix package -u`
>> the libraries (from qtbase) get upgraded from 5.15.5 to 6.3.1 and the
>> program fails to run.
>
> Then I suppose that your Qt5 libraries disappear, so that the programs will
> not find them; and the newly installed Qt6 libraries will not be of help
> (they have a different name and are thus considered, well, different).
> To check, you can do "ldd name-of-my-executable", which shows you which
> libraries needed by your binary are found or not. So the solution is
> to not do a "guix package -u", or to do a
> "guix package --do-not-upgrade qtbase qtxxx qtyyy ... -u"
> (with a potentially long list of Qt packages in the middle).
>
> It might be easier then to create a separate profile with a manifest only
> for your Qt5 development, which you would then avoid to update.
> It is something I have not done myself yet, so I will have to refer you
> to the documentation.
>
> Andreas



  reply	other threads:[~2023-03-03  8:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 11:25 How to handle concurrent QT versions Alexander Asteroth
2023-02-28 16:53 ` Andreas Enge
2023-03-01  8:14   ` Alexander Asteroth
2023-03-01 13:15     ` Felix Lechner via
2023-03-02 10:11     ` Andreas Enge
2023-03-03  8:47       ` Alexander Asteroth [this message]
2023-03-03 14:45         ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0u66wz0.fsf@h-brs.de \
    --to=alexander.asteroth@h-brs.de \
    --cc=andreas@enge.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.