Hello,
I am trying to build an executable that link against python
libraries. If I only link to python lib I get thoses errors(*). This
machine is a gentoo AMD64. I installed python by doing 'emerge python'
and my USE flags uses 'zlib'.
I am wondering if there is a 'python-config' like script that would
tell me that I also need to link against zlib libraries in order to
properly link my executable ?
Has anyone seen this problem before ? Or is this simply that there
is a misconfiguratio n problem in my gentoo installation ?
Thanks for your advices,
Mathieu
(*)
/usr/lib64/python2.3/config/libpython2.3.a( zlibmodule.o)(. text+0x19f):
In function `PyZlib_compres s':
: undefined reference to `deflateInit_'
/usr/lib64/python2.3/config/libpython2.3.a( zlibmodule.o)(. text+0x1c1):
In function `PyZlib_compres s':
: undefined reference to `deflateEnd'
/usr/lib64/python2.3/config/libpython2.3.a( zlibmodule.o)(. text+0x2f8):
In function `PyZlib_compres s':
: undefined reference to `deflate'
.... 1 1695
Yes and it's called python-config...
Sorry for the noise. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: oom |
last post by:
I am a bit of a newbie when it comes to python, when working with
lists today I noticed some very odd behaviour, any suggestions
welcome:
Python 2.2.3 (#1, Nov 6 2003, 14:12:38)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> firstlist=
>>> secondlist=firstlist
>>> print (firstlist,secondlist)
|
by: Buster McFadden |
last post by:
I've run into a problem on this platform (amd64) with code that works
elsewhere, on x86, sparc, and ppc platforms. The shelve module is throwing
an error raised from the anydbm call inside it:
Python 2.3.3 (#1, Feb 17 2004, 22:00:49)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import shelve
>>> x = shelve.open('tsetse.fly')
Traceback (most recent call last):
|
by: jsmilan |
last post by:
Hi, all;
I'm strictly an amateur developer who has dabbled in a half dozen
languages on eight or nine systems over 20 years or so. I have never
devoted the time or energy to thoroughly learn any one of them, so I have
become a true JOATAMON (Jack Of All Trades And Master Of None). I
apologize in advance for any truly newb sounding questions. I did Google
for this in several places first (Zope.org, Gentoo forums, and Google
UseNet...
|
by: Guy Lateur |
last post by:
Hi all,
I'm trying to generate a (exhaustive) list of all the applications that are
installed on a user's machine. I've written some code that reads the
registry ('App Paths'):
<code>
appKey = win32api.RegOpenKeyEx(win32con.HKEY_LOCAL_MACHINE,
'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths', 0, win32con.KEY_READ)
sklist = win32api.RegEnumKeyEx(appKey)
|
by: Sijmen |
last post by:
In reference to the following post by Brandon Bray from Microsoft:
http://groups.google.com/groups?q=g:thl1709599354d&dq=&hl=en&lr=&ie=UTF-8&selm=%238CXKwM3BHA.2488%40tkmsftngp04
Among other things, the thread talks about the C Runtime files such as
MSVCR71.DLL, and seems to indicate that they should be installed in
our applications directory, and not in the System32 directory.
Specifically, Brandon states the following about installing...
| |
by: Phoe6 |
last post by:
Hi all,
Part of my script is to check for pre-requisite rpms to be
installed.
If its installed, I just display the rpm version as in rpm database,
otherwise I output a message saying:
' rpm is not installed' and collect the rpm name in a list
(notInstalled).
At the end if the len(notInstalled) is greater than 0 then I display
them all asking it to be installed and exit the program.
My Script is below:
|
by: akbar |
last post by:
I googled and searched in archive. All I can find is finding
resolution with Tkinter and pygame. Any idea to find monitor
resolution with standard python module?
I can check from output of: xprop -root
_NET_DESKTOP_GEOMETRY(CARDINAL) . The problem is when you use Beryl or
Xgl, it is not correct anymore because Beryl or Xgl set this value
from amount of workspaces multiplied by monitor or screen resolution.
|
by: nubian |
last post by:
i'm a noob using gentoo and today i emerged apache with apache2 in my USE variable in /etc/make.conf, started the server and tested it from a browser using: http://localhost/ .So far so good.
Then i emerged dev-lang/php and the apache config file got
updated to include: APACHE_OPTS="-D DEFAULT_HOST -D PHP5.
I then created a sample .php file in /var/www/localhost/htdocs/ .But when i try to access this file from a browser using:...
|
by: darren kirby |
last post by:
Hi all,
I have a strange error here and I am unsure how to further investigate it:
Python 2.4.4 (#1, Aug 23 2007, 10:51:29)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
40:42:0
Traceback (most recent call last):
File "<stdin>", line 1, in ?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |