¡@

Home 

python Programming Glossary: ld

Why can't Python find shared objects that are in directories in sys.path?

http://stackoverflow.com/questions/1099981/why-cant-python-find-shared-objects-that-are-in-directories-in-sys-path

a colon separated set of directories where libraries should be searched for first before the standard set of directories.. with functions that override the standard set just as etc ld.so.preload does. These are implemented by the loader lib ld.. does. These are implemented by the loader lib ld linux.so. I should note that while LD_LIBRARY_PATH works on..

How can I build my C extensions with MinGW-w64 in Python?

http://stackoverflow.com/questions/11182765/how-can-i-build-my-c-extensions-with-mingw-w64-in-python

can I build my C extensions with MinGW w64 in Python So I have a few Python.. switched to 64 bit Python and I am having issues building the C extension with MinGW w64. I made the changes to distutils.. errors suggesting something is wrong python setup.py build running build running build_ext building 'MyLib' extension c..

change current process environment

http://stackoverflow.com/questions/1178094/change-current-process-environment

variable controls behavior of the dynamic loader ld linux.so.2 on Linux ld.so.1 on Solaris but the loader only looks.. behavior of the dynamic loader ld linux.so.2 on Linux ld.so.1 on Solaris but the loader only looks at LD_LIBRARY_PATH.. module instead of searching for it again. C. If you build x.so yourself you can add Wl rpath some path to its link line..

Python 3.1.1 with --enable-shared : will not build any extensions

http://stackoverflow.com/questions/1547310/python-3-1-1-with-enable-shared-will-not-build-any-extensions

3.1.1 with enable shared will not build any extensions Summary Building Python 3.1 on RHEL 5.3 64 bit.. enable shared will not build any extensions Summary Building Python 3.1 on RHEL 5.3 64 bit with enable shared fails to.. bit with enable shared fails to compile all extensions. Building normal works fine without any problems. Please note that..

How to tell distutils to use gcc?

http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc

project containing C and OpenMP code with Cython and build it with distutils via a setup.py file. The content of my file.. from distutils.extension import Extension from Cython.Build import cythonize from Cython.Distutils import build_ext modules.. import cythonize from Cython.Distutils import build_ext modules Extension Interface Interface.pyx Parallel.cpp..

Python multiprocessing: Permission denied

http://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied

to dev shm . On my laptop Ubuntu it looks like this ls ld dev shm drwxrwxrwt 2 root root 40 2010 01 05 20 34 shm To permanently..

sscanf in Python

http://stackoverflow.com/questions/2175080/sscanf-in-python

sscanf in Python. I want to parse proc net files in C I could do something like this int matches sscanf buffer d 64 0 9A Fa.. buffer d 64 0 9A Fa f X 64 0 9A Fa f X X X X X X X d d ld 512s n local_addr local_port rem_addr rem_port inode I thought.. cols l.split string.whitespace print len cols 1 Which should be returning 17 as explained above. Is there a Python equivalent..

Create and call python function from string via C API

http://stackoverflow.com/questions/3789881/create-and-call-python-function-from-string-via-c-api

file. Is there some equivalent to PyImport_Import which would allow me to pass it a string instead of a file I need to pass.. just defined pFunc PyObject_GetAttrString pNewMod blah Build a tuple to hold my arguments just the number 4 in this case.. PyObject_GetAttrString pNewMod blah Build a tuple to hold my arguments just the number 4 in this case pArgs PyTuple_New..

Fast tensor rotation with NumPy

http://stackoverflow.com/questions/4962606/fast-tensor-rotation-with-numpy

and hopefully speed things up. I've a feeling I should be using np.tensordot but I don't see how. Mathematically elements.. tensor T' are given by T' ijkl &Sigma g ia g jb g kc g ld T abcd with the sum being over the repeated indices on the right.. Making the code generalise to other ranks of tensor would be useful but is less important. python optimization numpy..

Python: How to install mysqldb on windows 7 x64?

http://stackoverflow.com/questions/5284186/python-how-to-install-mysqldb-on-windows-7-x64

How to install mysqldb on windows 7 x64 Im trying install Mysql python on windows.. leaf lib successfully installed but i can't install mysqldb . I trying to execute C Users Fedcomp Desktop leaf 0.4 MySQL.. leaf 0.4 MySQL python 1.2.3 python setup.py install bui ld compiler msvc running install running bdist_egg running egg_info..

python pip package install fails , dllwrap error after 'fixing': “unable to find vcvarsall.bat”

http://stackoverflow.com/questions/5439160/python-pip-package-install-fails-dllwrap-error-after-fixing-unable-to-find

pip package install fails dllwrap error after 'fixing' &ldquo unable to find vcvarsall.bat&rdquo I can't find this in.. Python 2.6 Lib distutils distutils.cfg which contains build compiler mingw32 Now the error I get is g Programs x86 Python.. No such file or directory compilation terminated. building 'twisted.protocols._c_urlarg' extension C MinGW bin gcc.exe..

Compiling Python 2.6.6 and need for external packages wxPython, setuptools, etc… in Ubuntu

http://stackoverflow.com/questions/6079128/compiling-python-2-6-6-and-need-for-external-packages-wxpython-setuptools-etc

The path looks in usr local bin first. python ipython ld rpath tcmalloc share improve this question A good general.. applies on all UNIXes including Linux and OS X. Instead build a good Python distro that you control with the libraries Python.. mess with 2.6 when 2.7.2 is available And when you are building it make sure that all of its dependencies are in its own..

Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell

http://stackoverflow.com/questions/6964392/speed-comparison-with-project-euler-c-vs-python-vs-erlang-vs-haskell

factorCount triangle 1001 index triangle index printf ld n triangle # usr bin env python3.2 import math def factorCount.. machines Int is sufficient. For portability sake you should probably rewrite my code to use Int64 or Word64 C isn't the..

Need help installing lxml on os x 10.7

http://stackoverflow.com/questions/7961577/need-help-installing-lxml-on-os-x-10-7

Suggest you read and follow the instructions here for building lxml from source on Mac OS X including building its own statically.. for building lxml from source on Mac OS X including building its own statically linked libs. That should work. I'm a little.. building its own statically linked libs. That should work. I'm a little surprised that homebrew doesn't already have..

Installing numpy as a dependency with setuptools

http://stackoverflow.com/questions/8710918/installing-numpy-as-a-dependency-with-setuptools

info SOURCES.txt' installing library code to build bdist.linux x86_64 egg running install_lib creating build bdist.linux.. bdist.linux x86_64 egg running install_lib creating build bdist.linux x86_64 egg creating build bdist.linux x86_64 egg.. creating build bdist.linux x86_64 egg creating build bdist.linux x86_64 egg test_pack copying build lib test_pack..