LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2012, 12:10 PM   #1
ouyexie
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
How to build executable from python script with different gdk, gtk and glibc version?


I have tried to build a simple python application (with wxpython) using bbfreeze and it worked perfectly on the system I built it.

But when I run the executable on another system, it just cannot run with error:
ImportError: /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol: g_resources_get_info

I know it is caused by different versions of libgdk_pixbuf installed on systems, but bbfreeze just does not copy the gtk, gdk, pango, glib shared libraries. And I think cx_freeze and pyinstaller will do the same thing.

So what can I do to build an executable which can run with different versions of gdk, gtk and glibc?

Is there any tools in linux to build fully standalone executables like py2app and py2exe do?

Cheers.
 
Old 08-18-2012, 07:48 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
I guess, you need statically linked python modules when doing bbfreeze
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert python script to windows executable ankit_mcgill Linux - Newbie 4 10-05-2008 01:21 AM
pkg-config glib gtk gdk Peterius Linux - Software 6 05-11-2007 02:38 AM
Help on GDK GTK+ programming varun_shrivastava Programming 0 05-07-2007 09:06 AM
how to get window from gdk to gtk? SciYro Programming 1 08-03-2004 09:01 PM
gtk , gdk ????? varunk123456 Linux - Software 7 04-03-2004 01:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration