You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Striker <st...@apache.org> on 2003/11/26 01:51:55 UTC

Swig install failures

Hi,

Anyone else seeing this:

cd subversion/bindings/swig/python ; /bin/sh
/home/striker/src/svn/libtool --mode=install
/home/striker/src/svn/ac-helpers/install-sh -c _fs.la
/opt/svn-install/svn-7843/lib/svn-python/libsvn/_fs.la
libtool: install: warning: relinking `_fs.la'
(cd /home/striker/src/svn/subversion/bindings/swig/python; /bin/sh
/home/striker/src/svn/libtool --mode=relink gcc -shared -L/usr/local/lib
-rpath /opt/svn-install/svn-7843/lib/svn-python/libsvn -avoid-version
-module -o _fs.la svn_fs.lo -lswigpy
../../../../subversion/bindings/swig/libsvn_swig_py-1.la
../../../../subversion/libsvn_fs/libsvn_fs-1.la )
gcc -shared  svn_fs.lo  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/opt/svn-install/svn-7843/lib -Wl,--rpath -Wl,/opt/openssl/lib
-Wl,--rpath -Wl,/opt/httpd-install/httpd-2.0.48/lib -Wl,--rpath
-Wl,/opt/db-install/db-4.2.50/lib  -L/usr/lib
-L/home/striker/src/svn/subversion/libsvn_subr/.libs
-L/home/striker/src/svn/subversion/libsvn_delta/.libs
-L/opt/db-install/db-4.2.50/lib -L/opt/httpd-install/httpd-2.0.48/lib
-L/opt/openssl/lib -L/usr/local/lib -lswigpy
-L/opt/svn-install/svn-7843/lib -lsvn_swig_py-1 -lsvn_fs-1   
-Wl,-soname -Wl,_fs.so -o .libs/_fs.so
/usr/bin/ld: cannot find -lsvn_fs-1
collect2: ld returned 1 exit status
libtool: install: error: relink `_fs.la' with the above command before
installing it
make: *** [install-swig-py] Error 1


Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Swig install failures

Posted by Sander Striker <st...@apache.org>.
On Wed, 2003-11-26 at 21:05, Justin Erenkrantz wrote:
> --On Wednesday, November 26, 2003 02:51:55 +0100 Sander Striker 
> <st...@apache.org> wrote:
> 
> > gcc -shared  svn_fs.lo  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> > -Wl,/opt/svn-install/svn-7843/lib -Wl,--rpath -Wl,/opt/openssl/lib
> > -Wl,--rpath -Wl,/opt/httpd-install/httpd-2.0.48/lib -Wl,--rpath
> > -Wl,/opt/db-install/db-4.2.50/lib  -L/usr/lib
> 
> What OS?  What libtool version?

Oh, sorry about that.  RedHat 9, libtool 1.4.3.

> My thought is whether these --rpath flags are being ignored by /usr/bin/ld. 
> If so, I'd say that might be a libtool goofiness trying to be too cute with 
> -R flags.
> 
> If you're using Solaris (have a hunch that is what this box is), then I 
> think gcc only works with the GNU binutils as the Solaris linker doesn't 
> understand --rpath (only the GNU ld does).
> 
> HTH.  -- justin

Still have the problem...  I'll drop in on irc tomorrow...

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Swig install failures

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Wednesday, November 26, 2003 02:51:55 +0100 Sander Striker 
<st...@apache.org> wrote:

> gcc -shared  svn_fs.lo  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/opt/svn-install/svn-7843/lib -Wl,--rpath -Wl,/opt/openssl/lib
> -Wl,--rpath -Wl,/opt/httpd-install/httpd-2.0.48/lib -Wl,--rpath
> -Wl,/opt/db-install/db-4.2.50/lib  -L/usr/lib

What OS?  What libtool version?

My thought is whether these --rpath flags are being ignored by /usr/bin/ld. 
If so, I'd say that might be a libtool goofiness trying to be too cute with 
-R flags.

If you're using Solaris (have a hunch that is what this box is), then I 
think gcc only works with the GNU binutils as the Solaris linker doesn't 
understand --rpath (only the GNU ld does).

HTH.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Swig install failures

Posted by John Szakmeister <jo...@szakmeister.net>.
On Tuesday 25 November 2003 20:51, Sander Striker wrote:
> Hi,
>
> Anyone else seeing this:
>
> cd subversion/bindings/swig/python ; /bin/sh
> /home/striker/src/svn/libtool --mode=install
> /home/striker/src/svn/ac-helpers/install-sh -c _fs.la
> /opt/svn-install/svn-7843/lib/svn-python/libsvn/_fs.la
> libtool: install: warning: relinking `_fs.la'
> (cd /home/striker/src/svn/subversion/bindings/swig/python; /bin/sh
> /home/striker/src/svn/libtool --mode=relink gcc -shared -L/usr/local/lib
> -rpath /opt/svn-install/svn-7843/lib/svn-python/libsvn -avoid-version
> -module -o _fs.la svn_fs.lo -lswigpy
> ../../../../subversion/bindings/swig/libsvn_swig_py-1.la
> ../../../../subversion/libsvn_fs/libsvn_fs-1.la )
> gcc -shared  svn_fs.lo  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/opt/svn-install/svn-7843/lib -Wl,--rpath -Wl,/opt/openssl/lib
> -Wl,--rpath -Wl,/opt/httpd-install/httpd-2.0.48/lib -Wl,--rpath
> -Wl,/opt/db-install/db-4.2.50/lib  -L/usr/lib
> -L/home/striker/src/svn/subversion/libsvn_subr/.libs
> -L/home/striker/src/svn/subversion/libsvn_delta/.libs
> -L/opt/db-install/db-4.2.50/lib -L/opt/httpd-install/httpd-2.0.48/lib
> -L/opt/openssl/lib -L/usr/local/lib -lswigpy
> -L/opt/svn-install/svn-7843/lib -lsvn_swig_py-1 -lsvn_fs-1
> -Wl,-soname -Wl,_fs.so -o .libs/_fs.so
> /usr/bin/ld: cannot find -lsvn_fs-1
> collect2: ld returned 1 exit status
> libtool: install: error: relink `_fs.la' with the above command before
> installing it
> make: *** [install-swig-py] Error 1

I just tried this with HEAD and all seems well.  The last time I had something 
like this happened, I did a 'make clean' and the problem went away.

-John


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org