PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : problem mit tagpy lib



luh
20-03-2006, 15:54
Hallo,
Ich möchte tagpy bei mir installieren (debian sarge)
tagpy: http://news.tiker.net/software/tagpy

ich habe extra das neueste boost.python (1.33.1) kompiliert

die setup.py von tagpy habe ich modifiziert:


BOOST_INCLUDE_DIRS = ["/usr/local/include/boost-1_33_1"]
BOOST_LIBRARY_DIRS = ["/usr/local/lib/"]

mit der modifizierten setup.py bekomme ich folgenden fehler:


g++ -pthread -shared build/temp.linux-i686-2.4/src/basics.o build/temp.linux-i686-2.4/src/id3.o build/temp.linux-i686-2.4/src/rest.o -L/usr/local/lib/ -ltag -lboost_python -o build/lib.linux-i686-2.4/_tagpy.so
/usr/bin/ld: cannot find -lboost_python

in dem /usr/local/lib ordner gibt es folgende dateien:


/usr/local/lib/libboost_python-gcc-1_33_1.a /usr/local/lib/libboost_python-gcc-mt-1_33_1.so.1.33.1
/usr/local/lib/libboost_python-gcc-1_33_1.so.1.33.1 /usr/local/lib/libboost_python-gcc-mt.a
/usr/local/lib/libboost_python-gcc.a /usr/local/lib/libboost_python-gcc-mt-d-1_33_1.a
/usr/local/lib/libboost_python-gcc-d-1_33_1.a /usr/local/lib/libboost_python-gcc-mt-d-1_33_1.so.1.33.1
/usr/local/lib/libboost_python-gcc-d-1_33_1.so.1.33.1 /usr/local/lib/libboost_python-gcc-mt-d.a
/usr/local/lib/libboost_python-gcc-d.a /usr/local/lib/libboost_python-gcc-mt-d.so
/usr/local/lib/libboost_python-gcc-d.so /usr/local/lib/libboost_python-gcc-mt.so
/usr/local/lib/libboost_python-gcc-mt-1_33_1.a /usr/local/lib/libboost_python-gcc.so

koennte es eine davon sein? und ich muss einfach noch den wert fuer BOOST_LIBRARY ändern?
gruss
luh

luh
20-03-2006, 17:08
okay boost_python-gcc.a war die datei zusammen mit der zeile

echo /usr/local/lib >> /etc/ld.so.conf && ldconfig

läuft es jetzt
luh