0
我想從源碼生成matplotlib。我已經從本地位置預先創建了tcl和tk:/home/my_user_name/local
,並且在setupext.py
中添加了/home/my_user_name/local
到basedir
。建立matplotlib時鏈接到tcl
然而,當我運行
python setup.py build
它最終停止使用:
/usr/bin/ld: cannot find -ltcl
collect2: ld returned 1 exit status
我去/home/my_user_name/local/lib
,看見下面
find . -name '*tcl*'
,結果發現:
./libtclstub8.5.a
./tcl8.5
./libtcl8.5.so
./tcl8
./tclConfig.sh
matplotlib試圖鏈接到哪個文件?我似乎沒有tcl.so