Bu document takip eden vim, YouCompleteMe
eklentisi yapıyorum. make
çalıştırdığımda, aşağıdaki hatayı alıyorum.YouCompleteMe oluştururken Libpython hatası
Linking CXX shared library /home/sagar/.vim/bundle/YouCompleteMe/python/ycm_core.so
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
Bu hata nedir?
Python sürümlerini yönetmek için pyenv yükledim. Sorun yaratıyor mu?
deneyin bulundu -FPIC ile derleyin. Python 2.7 kütüphaneleri de mevcut olmalıdır. – bosnjak
@Lawrence, -fPIC ile derlemeyi denedi, çalışmıyor, aynı hata. –