Hi! When I do $ python setup.py build_ext -L/opt/gmp/lib on Linux running RH with latest Python 2.0, then I get Traceback (most recent call last): File "setup.py", line 18, in ? ext_modules = [ gmpy_ext ] File "/opt/Python-2.0/lib/python2.0/distutils/core.py", line 138, in setup dist.run_commands() File "/opt/Python-2.0/lib/python2.0/distutils/dist.py", line 829, in run_commands self.run_command(cmd) File "/opt/Python-2.0/lib/python2.0/distutils/dist.py", line 849, in run_command cmd_obj.run() File "/opt/Python-2.0/lib/python2.0/distutils/command/build_ext.py", line 225, in run self.build_extensions() File "/opt/Python-2.0/lib/python2.0/distutils/command/build_ext.py", line 441, in build_extensions build_temp=self.build_temp) File "/opt/Python-2.0/lib/python2.0/distutils/ccompiler.py", line 662, in link_shared_object extra_preargs, extra_postargs, build_temp) File "/opt/Python-2.0/lib/python2.0/distutils/unixccompiler.py", line 208, in link (libraries, library_dirs, runtime_library_dirs) = \ File "/opt/Python-2.0/lib/python2.0/distutils/ccompiler.py", line 430, in _fix_lib_args library_dirs = list (library_dirs) + (self.library_dirs or []) TypeError: can only concatenate list (not "string") to list Is this distutils bug? Or what I am doing wrong? Thanks, Pearu setup.py contains: import sys from distutils.core import setup, Extension if sys.version.find('MSC')==-1: gmpy_ext = Extension('gmpy', sources=['gmpy.c'], libraries=['gmp']) else: gmpy_ext = Extension('gmpy', sources=['gmpy.c'], include_dirs=['.']) setup (name = "gmpy", version = "0.4", description = "GMP-3 to Python-2 interface", maintainer = "Alex Martelli", maintainer_email = "aleaxit@yahoo.com", url = "http://gmpy.sourceforge.net/", ext_modules = [ gmpy_ext ] )