473,499 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem build python bindings to lasso with swig on mac os x

Hi!

This involves quite a lot of different system, so I'm not really sure
who which would be the right list to query.

So, I'm trying a couple, this list being one of them.

I'm trying to build the lasso (http://lasso.entrouvert.org/)
libraries and what I really want to get at is the Python bindings.
Those binding are done with the help of swig and it fails with the
following output:

gcc -o .libs/_lasso.so -bundle .libs/_lasso_la-lasso_wrap.o -L/sw/
lib -L/Users
/rolandhedberg/src/libxml2-2.6.22 -L/usr/local/lib -L/lib ../
lasso/.libs/liblasso
..dylib /usr/lib/libiconv.dylib /usr/lib/libpthread.dylib /usr/lib/
libz.dylib /usr
/lib/libm.dylib /usr/lib/libssl.dylib /usr/lib/libcrypto.dylib /usr/
local/lib/lib
dl.dylib /usr/lib/libresolv.dylib /usr/local/lib/
libgobject-2.0.dylib /usr/lib/li
bc.dylib /usr/local/lib/libglib-2.0.dylib /usr/local/lib/
libintl.dylib /usr/local
/lib/libxmlsec1-openssl.dylib /usr/local/lib/libxmlsec1.dylib -ldl /
usr/local/lib
/libxslt.dylib /usr/local/lib/libxml2.dylib -lpthread -lz /sw/lib/
libiconv.dylib
-lm -lssl -lcrypto /usr/local/lib/libsasl2.dylib -Wl,-F. -Wl,-F.
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyCObject_AsVoidPtr
_PyCObject_FromVoidPtrAndDesc
_PyCObject_GetDesc
_PyCObject_Type
_PyDict_SetItemString
_PyErr_NewException
_PyErr_Occurred
_PyErr_SetObject
_PyErr_SetString
_PyExc_IOError
_PyExc_IndexError
_PyExc_MemoryError
_PyExc_NameError
_PyExc_OverflowError
_PyExc_RuntimeError
_PyExc_SyntaxError
_PyExc_SystemError
_PyExc_TypeError
_PyExc_ValueError
_PyExc_ZeroDivisionError
_PyFloat_FromDouble
_PyInt_AsLong
_PyInt_FromLong
_PyModule_AddObject
_PyModule_GetDict
_PyObject_CallObject
_PyObject_GetAttr
_PyObject_SetAttrString
_PyString_FromString
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
collect2: ld returned 1 exit status
make[1]: *** [_lasso.la] Error 1
make: *** [all-recursive] Error 1

To me it looks like there is a missing library somewhere, but then I
might be wrong.

I've tried with different versions of swig 1.3.21 - 1.3.27 with the
same result.
It's the 0.6.3 version of lasso I'm trying to build.

Comments ?

-- Roland

Dec 4 '05 #1
0 1213

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2071
by: Phil Schmidt | last post by:
I'm attempting to follow the instructions at http://sebsauvage.net/python/mingw.html, without luck. I have Python 2.3, MinGW 3.2.3, ans SWIG 1.3.19. I get an export error on "initexample" when...
7
7148
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results....
1
2919
by: Arthur Chereau | last post by:
Hi, I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with Python 2.4.1. The last viewcvs (from CVS) needs subversion python bindings. I installed swig and built subversion from...
0
1086
by: Thomas G. Apostolou | last post by:
Hello all. i am trying to make some win32 binaries of M2Crypto 0.15 What I use is: Python 2.3.3 openssl-0.9.7i swigwin 1.3.27
2
4426
by: ajikoe | last post by:
Hi, I tried to follow the example in swig homepage. I found error which I don't understand. I use bcc32, I already include directory where my python.h exist in bcc32.cfg. /* File : example.c...
0
1352
by: John Ling | last post by:
Hello, I have been trying to install an application which requires Python: http://chip.dfci.harvard.edu/~wli/MAT/ My environment is AIX 5.2. Below is the section of the setup that has failed,...
9
1883
by: bressert | last post by:
Hi Everyone, I'm considering about generating some Python Bindings for C++ libraries. What are considered the best tools for doing something like this? I know that there are SWIG, SIP,...
7
1855
by: Georg Grabler | last post by:
Hello everybody. There's a C library which i'd like to have python bindings for. I havn't known anything before about how to write python bindings for a C library. I succeeded now by using...
7
4225
by: John Nagle | last post by:
Back in March, I posted this: That was for M2Crypto 0.17. It's still broken in M2Crypto 0.18. And there's no RPM or Windows binary. Nobody actually uses this stuff, do they?
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
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...
1
4920
isladogs
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...
0
4605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3105
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...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
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 ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.