Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Installing Glib on Debian

by morgon (Deacon)
on Feb 22, 2013 at 00:07 UTC ( #1020022=perlquestion: print w/ replies, xml ) Need Help??
morgon has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I am having troubles installing Glib for a self-compiled perl on a Debian-system.

On a similar machine I recently installed it without any issues, but now I have this problem:

Running perl Makefile.PL gives these warnings:

Note (probably harmless): No library found for -lgobject-2.0 Note (probably harmless): No library found for -lglib-2.0
Running make compiles a Glib.so, but finally I get this error:

Can't load 'blib/arch/auto/Glib/Glib.so' for module Glib: blib/arch/auto/Glib/Glib.so: undefined symbol: g_direct_hash at /home/mh/perl514/lib/5.14.1/x86_64-linux/DynaLoader.pm line 190.

As far as I can tell I have all necessary prerequisites installed...

Any advice on how to attack this?

Many thanks!

Comment on Installing Glib on Debian
Select or Download Code
Re: Installing Glib on Debian
by Anonymous Monk on Feb 22, 2013 at 00:19 UTC

    As far as I can tell I have all necessary prerequisites installed...

    What are they?

    gobject-2.0 is one of them, as is glib-2.0, and they appear to be missing

    Any advice on how to attack this?

    install gobject/glib/pkg-config

    Maybe  apt-get install perl-gnome2 , something like that

      install gobject/glib/pkg-config
      I have all of that.

      Note that if I didn't the configuration-step would already fail as MakeMaker checks for that.

      But for whatever reason I only get a warning (something I dit not get on the other machine) and a .so is compiled but that does not seem to work. Unfortunately both perl-version and library-versions are slightly different on my other machine...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1020022]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-10-30 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls