install question

David Gutman dagutman at gmail.com
Thu Mar 29 23:13:00 EDT 2012


i pulled the latest tar ball from git, and did the typical
./configure, make, sudo make install

I then went to my python instance and tried to just import
openslide... but got the error below



 import openslide
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/openslide/__init__.py",
line 32, in <module>
    from openslide import lowlevel
  File "/usr/local/lib/python2.6/dist-packages/openslide/lowlevel.py",
line 132, in <module>
    get_level_count = _func('openslide_get_level_count', c_int32, [_OpenSlide])
  File "/usr/local/lib/python2.6/dist-packages/openslide/lowlevel.py",
line 108, in _func
    func = getattr(_lib, name)
  File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/libopenslide.so.0: undefined symbol:
openslide_get_level_count
>>>


i am running

python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2


Also.. when I tried to pull directly using git pull ...(git clone
git://github.com/openslide/openslide.git
)  there was no ./configure script included .... the only way I could
build was by pulling the tarball directly.




 git clone git://github.com/openslide/openslide.git
Initialized empty Git repository in /home/dgutman/temp/openslide/.git/
remote: Counting objects: 6123, done.
remote: Compressing objects: 100% (1891/1891), done.
remote: Total 6123 (delta 4269), reused 6025 (delta 4172)
Receiving objects: 100% (6123/6123), 1.31 MiB, done.
Resolving deltas: 100% (4269/4269), done.
dgutman at node15:~/temp$ ls
openslide
dgutman at node15:~/temp$ cd openslide/
dgutman at node15:~/temp/openslide$ ls
CHANGELOG.txt   configure.ac      LICENSE.txt  openslide.pc.in  TODO.txt
cmake           CONTRIBUTING.txt  m4           README.txt       tools
CMakeLists.txt  doc               Makefile.am  src
config.h.cmake  lgpl-2.1.txt      misc         test
dgutman at node15:~/temp/openslide$ ./configure
-bash: ./configure: No such file or directory
dgutman at node15:~/temp/openslide$


-- 
David A Gutman, M.D. Ph.D.
Assistant Professor of Biomedical Informatics
Senior Research Scientist, Center for Comprehensive Informatics
Emory University School of Medicine


More information about the openslide-users mailing list