unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "help-guix\\@gnu.org" <help-guix@gnu.org>
Subject: Re: Need help packaging IUP (part 1: IM)
Date: Mon, 20 Mar 2023 15:59:52 -0700	[thread overview]
Message-ID: <CAFHYt56Jso4SOnMnbQ7Jq30vYZZvezovh0K3C_KwaLcFEB0qVQ@mail.gmail.com> (raw)
In-Reply-To: <KEnQiP10jASzYyVu0QkHFPdvPtCYpES7A6bU7tLBBroZAlrEDITQX1RY8w80NfcK-9JcJNJ0cu6axFM2rcgg2177Ktl0G-lajS20kPqlVqQ=@elenq.tech>

Hi Ekaitz,

On Mon, Mar 20, 2023 at 3:45 PM Ekaitz Zarraga <ekaitz@elenq.tech> wrote:
>
> The main problem I have now is the RUNPATH is not set properly.

I hope it's okay to amend your note briefly. The captive shared
library libim.so is not being found by (guix build-system gnu) when
setting the RUNPATH for libim_jp.so, because both libraries are being
built in the same package.

The issue seemed similar to the circumstances in our repo here [1]
here [2] here [3] and here [4] but somehow those solutions did not
work for Ekaitz.

Here is the error message Ekaitz saw from 'validate-runpath:

    /gnu/store/d4z5069a5z9nn4wj2ji52cv60ghkm0ip-im-3.15/lib/libim_jp2.so:
    error: depends on 'libim.so', which cannot be found in RUNPATH
    ("/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib"
    "/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib"
    "/gnu/store/p7iq81hxxyk9zy7a9dngbf16zm8d4klx-libpng-1.6.37/lib"
    "/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib"
    "/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/10.3.0/../../..")

Kind regards
Felix Lechner

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/video.scm#n1776
[2] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/boost.scm#n97
[3] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/kde-plasma.scm#n237
[4] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bootloaders.scm#n583


  reply	other threads:[~2023-03-20 23:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 22:44 Need help packaging IUP (part 1: IM) Ekaitz Zarraga
2023-03-20 22:59 ` Felix Lechner via [this message]
2023-03-21 12:25 ` Reza Housseini
2023-03-21 12:45   ` Ekaitz Zarraga
2023-03-21 15:43     ` Ekaitz Zarraga
2023-03-21 16:01       ` Reza Housseini

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=CAFHYt56Jso4SOnMnbQ7Jq30vYZZvezovh0K3C_KwaLcFEB0qVQ@mail.gmail.com \
    --to=help-guix@gnu.org \
    --cc=ekaitz@elenq.tech \
    --cc=felix.lechner@lease-up.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).