hi can any one please help me..

steve steve at lonetwin.net
Mon Feb 15 04:12:53 EST 2010


Hello,

On 02/15/2010 02:20 PM, chiranjeevi muttoju wrote:
> Hi,
> when i'm installing the pytc(python wrapper for tokyo cabinet.) i'm
> getting the fallowing error.. i'm getting this error for python2.6
> only.. for python 2.4 its working fine..
> ---------------------------------------------
> running install
> running build
> running build_ext
> building 'pytc' extension
> gcc -pthread -shared build/temp.linux-x86_64-2.6/pytc.o -L/usr/local/
> lib -L. -ltokyocabinet -lpython2.6 -o build/lib.linux-x86_64-2.6/
> pytc.so
> /usr/bin/ld: cannot find -lpython2.6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to install the python development libraries. For example if you are 
doing this on a Fedora or Red Hat Enterprise Linux system, execute the command:

$ yum install python-devel

...to install the necessary libraries.

cheers,
- steve



More information about the Python-list mailing list