Symbol not found: _Perl_xs_handshake

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Symbol not found: _Perl_xs_handshake

Didier Verna

  Hello,

I have Perl and Gtk+ installed through Homebrew on OSX. At the bottom of
this message is the description of these installations. There's another
software that I use which depends on this, but it fails to launch with
the following error:

didier(s000)% dyld: lazy symbol binding failed: Symbol not found: _Perl_xs_handshake
  Referenced from: /usr/local/pkg/perl5/lib/perl5/darwin-thread-multi-2level/auto/Glib/Glib.bundle
  Expected in: flat namespace


I'm clueless here. Any ideas would be appreciated.

Thanks !




brew info perl
perl: stable 5.26.0 (bottled), HEAD
Highly capable, feature-rich programming language
https://www.perl.org/
/usr/local/Cellar/perl/5.26.0 (2,389 files, 57.2MB) *
  Poured from bottle on 2017-06-26 at 15:18:44
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/perl.rb
==> Options
--with-dtrace
        Build with DTrace probes
--without-test
        Skip running the build test suite
--HEAD
        Install HEAD version
==> Caveats
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
  echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.zshrc



didier(s000)% brew info gtk+                                     16:15 06/26/17
gtk+: stable 2.24.31 (bottled), HEAD
GUI toolkit
https://gtk.org/
/usr/local/Cellar/gtk+/2.24.31_1 (1,199 files, 53.0MB) *
  Poured from bottle on 2017-06-26 at 15:11:54
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gtk+.rb
==> Dependencies
Build: pkg-config ✔
Required: gdk-pixbuf ✔, atk ✔, pango ✔, gobject-introspection ✔, hicolor-icon-theme ✔
Optional: jasper ✔
==> Options
--with-jasper
        Build with jasper support
--with-quartz-relocation
        Build with quartz relocation support
--HEAD
        Install HEAD version



--
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Symbol not found: _Perl_xs_handshake

Didier Verna
I wrote:

> I have Perl and Gtk+ installed through Homebrew on OSX. At the bottom
> of this message is the description of these installations. There's
> another software that I use which depends on this, but it fails to
> launch with the following error:

  One more bit of information: I just found out the missing symbol in
  here: /usr/local/Cellar/perl/5.26.0/lib/perl5/5.26.0/darwin-thread-multi-2level/CORE/libperl.dylib

  The Perl executable is linked to it. Maybe this library is missing
  somewhere in the Gtk bindings?

--
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Symbol not found: _Perl_xs_handshake

sisyphus1
-----Original Message-----
From: Didier Verna
Sent: Tuesday, June 27, 2017 1:11 AM
To: [hidden email]
Subject: Re: Symbol not found: _Perl_xs_handshake

>  One more bit of information: I just found out the missing symbol in
> here:
> /usr/local/Cellar/perl/5.26.0/lib/perl5/5.26.0/darwin-thread-multi-2level/CORE/libperl.dylib
>
>  The Perl executable is linked to it.

But is
/usr/local/pkg/perl5/lib/perl5/darwin-thread-multi-2level/auto/Glib/Glib.bundle
using that libperl.dylib ?
Or is it instead using another perl, and hence a different libperl.dylib ?

"/usr/local/pkg/perl5/" is not the same path as
"/usr/local/Cellar/perl/5.26.0". And the Perl_xs_handshake symbol is not to
be found in all versions of perl. (For example, on my windows machine, I can
find it in perl 5.22, 5.24 and 5.26, but not in earlier versions.)

> Maybe this library is missing somewhere in the Gtk bindings?

I don't think so - seems to me that the error pertains to a missing symbol,
not to a missing library.

Cheers,
Rob

_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Symbol not found: _Perl_xs_handshake

Didier Verna
<[hidden email]> wrote:

> But is
> /usr/local/pkg/perl5/lib/perl5/darwin-thread-multi-2level/auto/Glib/Glib.bundle
> using that libperl.dylib ?  Or is it instead using another perl, and
> hence a different libperl.dylib ?

  Glib.bundle is not linked to any perl library. The Perl executable is,
  however.

> "/usr/local/pkg/perl5/" is not the same path as
> "/usr/local/Cellar/perl/5.26.0". And the Perl_xs_handshake symbol is
> not to be found in all versions of perl.

  /usr/local/pkg/perl5 is for CPAN libraries local installation. The
  Cellar stuff is the Homebrew installation of Perl.

--
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Symbol not found: _Perl_xs_handshake

Didier Verna
I wrote:

> <[hidden email]> wrote:
>
>>  Or is it instead using another perl, and hence a different
>> libperl.dylib ?

   OK, got it (you put me on track with this sentence ;-)). There was a
   #! /usr/bin/perl  hardwired somewhere, which is a different Perl from
   the one in /usr/local/.

Thanks!

--
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info
_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Loading...