Re: [Pymat-users] Linking not working after compilation
Brought to you by:
ajssf
From: <ro...@st...> - 2005-09-13 01:06:31
|
Hi Stephan, I havn't tried the lates matlab version under linux yet. I probably will have an attempt at it during this or next week. Some tips: Are you running the cvs version? Try to compile by editing the test/testND script. If it doesn't help I'll ask me again in a week. Rolv > Hi everyone, > > I just tried to compile pymat and I ran into some troubles. The first > thing I > had to do was to change setup.py and comment out the following lines like > this: > > if sys.platform[:6] == 'linux2': > matlab_dir ='/opt/matlab' > matlab_plat = 'glnx86' > libraries = [ > #'eng', > #'mat', > #'mx', > #'ut', > 'stdc++' > ] > > After that the lib compiled and installed just fine. However, then the > following fails: > > $ python -c "import pymat" > Traceback (most recent call last): > File "<string>", line 1, in ? > File "/usr/lib/python2.4/site-packages/pymat/__init__.py", line 9, in ? > from pymat import * > ImportError: /usr/lib/python2.4/site-packages/pymat/pymat.so: undefined > symbol: mxCalloc Hi Stephan, > > So it can clearly not find the mx.so library, right? Then I tried: > > $ export LD_LIBRARY_PATH=/opt/matlab/extern/lib/glnx86/ > $ python -c "import pymat" > > with the same result as above. I am using: > > Python 2.4 > GCC 3.4.3 > Matlab (the latest) > > Regards, > Stephan > -- > Stephan Richter > CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) > Web2k - Web Software Design, Development and Training > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Pymat-users mailing list > Pym...@li... > https://lists.sourceforge.net/lists/listinfo/pymat-users > |