I run ldconfig too. And I've tried to setup LD_LIBRARY_PATH...
If I try with subversion 1.0.1, the swig-py works fine, but subversion 1.0.4 fails.
> -----Mensaje original-----
> De: Erik Huelsmann [mailto:e.huelsmann@gmx.net]
> Enviado el: Viernes, 28 de Mayo de 2004 03:15 p.m.
> Para: Federico Edelman
> CC: users@subversion.tigris.org
> Asunto: RE: Problem python bindings "SWIG_Python_TypeQuery"
>
> > Erik, thanks for your reply.
> >
> > Yes, I've added "/usr/local/lib" into my /etc/ld.so.conf.
> >
> > What's other thing could I check?
>
> If you had to add it to ld.so.conf yourself, then did you run
> /sbin/ldconfig
> to update the dynamic loader?
>
> Did you already check other possibilities? If so which ones?
>
> bye,
>
> Erik.
>
> > > -----Mensaje original-----
> > > De: Erik Huelsmann [mailto:e.huelsmann@gmx.net]
> > > Enviado el: Viernes, 28 de Mayo de 2004 02:45 p.m.
> > > Para: Federico Edelman
> > > CC: users@subversion.tigris.org
> > > Asunto: RE: Problem python bindings "SWIG_Python_TypeQuery"
> > >
> > >
> > > > Guys, first, I'm sorry for my insistence. But, I need compile Python
> > > > bindings for viewcvs GUI.
> > > >
> > > > I'm trying to compile successfully swig-py and I get the same error
> > > always
> > > > about "SWIG_Python_TypeQuery".
> > > >
> > > > # python -c "from svn import client"
> > > > Traceback (most recent call last):
> > > > File "<string>", line 1, in ?
> > > > File "/usr/local/subversion/lib/svn-python/svn/client.py", line
> 17,
> > in
> > > ?
> > > > from libsvn.client import *
> > > > File "/usr/local/subversion/lib/svn-python/libsvn/client.py", line
> > 5,
> > > in
> > > > ?
> > > > import _client
> > > > ImportError: /usr/local/subversion/lib/libsvn_swig_py-1.so.0:
> > undefined
> > > > symbol: SWIG_Python_TypeQuery
> > >
> > > Can python find the swig library? (One option is to check if
> > > /usr/local/lib
> > > is in your ld.so.conf file; assuming you are on linux.) This is a SWIG
> > > symbol which is only used by the python bindings.
> > >
> > > bye,
> > >
> > >
> > > Erik.
> > >
> > >
> > > >
> > > > Excuse me again. :(
> > > > Fede
> > > >
> > > >
> > > > > -----Mensaje original-----
> > > > > De: Federico Edelman [mailto:fedelman@claxson.com]
> > > > > Enviado el: Jueves, 27 de Mayo de 2004 05:37 p.m.
> > > > > Para: users@subversion.tigris.org; dev@subversion.tigris.org
> > > > > Asunto: RV: Problem python bindings
> > > > >
> > > > > Hi guys!
> > > > > When I try to compile the python bindings, I get the following
> > error:
> > > > >
> > > > > # python -c "from svn import client"
> > > > > Traceback (most recent call last):
> > > > > File "<string>", line 1, in ?
> > > > > File "/usr/local/subversion/lib/svn-python/svn/client.py", line
> > 17,
> > > in
> > > > ?
> > > > > from libsvn.client import *
> > > > > File "/usr/local/subversion/lib/svn-python/libsvn/client.py",
> line
> > > 5,
> > > > in
> > > > > ?
> > > > > import _client
> > > > > ImportError: /usr/local/subversion/lib/libsvn_swig_py-1.so.0:
> > > undefined
> > > > > symbol: SWIG_Python_TypeQuery
> > > > >
> > > > > Any idea?
> > > > >
> > > > > Thanks,
> > > > > Fede
> > > > >
> > > > > My configuration:
> > > > >
> > > > > PIII 500 Mhz RAM 128 MB
> > > > > Debian GNU/Linux 3.0r1 Kernel 2.4.25
> > > > >
> > > > > SWIG 1.3.21
> > > > > -----------
> > > > > # ./configure '--prefix=/usr/local' \
> > > > > '--with-python=/usr/bin/python2.2' \
> > > > > '--with-perl=/usr/local/bin/perl'
> > > > > # make
> > > > > # make runtime
> > > > > # make install-runtime
> > > > > # make install
> > > > >
> > > > > db 4.2.52
> > > > > ---------
> > > > > # cd build_unix/
> > > > > # ../dist/configure --prefix=/usr/local/subversion
> > > > > # make
> > > > > # make install
> > > > >
> > > > > apache 2.0.49
> > > > > -------------
> > > > > # ./configure --prefix=/usr/local/subversion \
> > > > > --enable-dav \
> > > > > --enable-so \
> > > > > --with-dbm=db4 \
> > > > > --with-berkeley-db=/usr/local/subversion \
> > > > > --enable-mod_rewrite \
> > > > > --enable-threads
> > > > > # make
> > > > > # make install
> > > > >
> > > > > subversion 1.0.4
> > > > > ----------------
> > > > > # rm -f /usr/local/subversion/lib/libsvn*
> > > > > # rm -f /usr/local/subversion/lib/libapr*
> > > > > # rm -f /usr/local/subversion/lib/libexpat*
> > > > > # rm -f /usr/local/subversion/lib/libneon*
> > > > > # AUTOCONF=autoconf2.50 sh ./autogen.sh
> > > > > # ./configure --prefix=/usr/local/subversion \
> > > > > --with-berkeley-db=/usr/local/subversion \
> > > > > --enable-dbm=db4 \
> > > > > --with-apxs=/usr/local/subversion/bin/apxs \
> > > > > --with-swig=/usr/local \
> > > > > --enable-swig-bindings=pitón,perl
> > > > > # make
> > > > > # make check
> > > > > # make install
>
> --
> +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
> GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 20:20:58 2004