GNU bug report logs - #47558
28.0.50; dlopen 'image not found' gccemacs native-lisp macos

Previous Next

Package: emacs;

Reported by: Bryan O'Brien <bryan.m.obrien <at> gmail.com>

Date: Fri, 2 Apr 2021 03:08:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #104 received at 47558 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Third <alan <at> idiocy.org>
Cc: bryan.m.obrien <at> gmail.com, 47558 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: Re: bug#47558: 28.0.50; dlopen 'image not found' gccemacs
 native-lisp macos
Date: Wed, 07 Apr 2021 17:25:49 +0300
> Date: Wed, 7 Apr 2021 15:20:25 +0100
> From: Alan Third <alan <at> idiocy.org>
> Cc: akrl <at> sdf.org, bryan.m.obrien <at> gmail.com, 47558 <at> debbugs.gnu.org
> 
> > This is indeed non-portable, but using 'find' pipes into a suitable
> > Sed script should be able to do that portably.
> 
> Is this better?
> 
>     if test -n "$BREW"; then
>       BREW_LIBGCCJIT_PREFIX=`$BREW --prefix --installed libgccjit 2>/dev/null`
>       if test "$BREW_LIBGCCJIT_PREFIX"; then
>         brew_libdir=`find ${BREW_LIBGCCJIT_PREFIX}/ -name \*.so \
>                      | sed -e '1!d;s|/[[^/]]*\.so$||'`
>         CFLAGS="$CFLAGS -I${BREW_LIBGCCJIT_PREFIX}/include"
>         LDFLAGS="$LDFLAGS -L${brew_libdir} -I${BREW_LIBGCCJIT_PREFIX}/include"
>       fi
>     fi

Yes, I think so.

Thanks.




This bug report was last modified 4 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.