You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Koning <ko...@llnl.gov> on 2005/10/18 21:28:22 UTC

libtool: install: error: cannot install `libsvn_subr-1.la' to a directory

<html>
<body>
<pre>Hi,

Per Dimitri's suggestions, I took off this from the $PATH:&nbsp; 
/usr/ucb/cc and /usr/ucb 

Then ran this:

ldd subversion/svnversion/svnversion

ironwood&lt;133&gt; ldd subversion/svnversion/svnversion
ldd: subversion/svnversion/svnversion: unsupported or unknown file type

</pre><font face="Courier New, Courier">Error upon make install is still
the same:<br><br>
cd subversion/po ; /tmp/subversion-1.2.3/ac-helpers/install-sh -c -m 644
zh_TW.mo /opt/share/locale/zh_TW/LC_MESSAGES/subversion.mo<br>
subversion/svnversion/svnversion . /repos/svn/trunk &gt;
/opt/include/subversion-1/svn-revision.txt<br>
ld.so.1: /tmp/subversion-1.2.3/subversion/svnversion/.libs/svnversion:
fatal: /usr/ccs/bin/ranlib/libgcc_s.so.1: Not a directory<br>
*** Error code 137<br>
make: Fatal error: Command failed for target `revision-install'<br>
ironwood{root}84: subversion/svnversion/svnversion<br>
ld.so.1: /tmp/subversion-1.2.3/subversion/svnversion/.libs/svnversion:
fatal: /usr/ccs/bin/ranlib/libgcc_s.so.1: Not a directory<br>
Killed<br><br>
</font><pre>Is there anything based on the above info you can tell me to
request of my System Admin?&nbsp; How do I know if it's simply my $PATH
and $LD_LIBARY_PATH not set up correctly or if it's a system
configuration issue?&nbsp; Is there any guidelines for paths when
installing subversion?

Thanks much,

</pre><x-sigsep><p></x-sigsep>
<font face="Arial Narrow, Helvetica" size=4 color="#808080"><b><i>Dan
Koning / CM Team<br>
</i></b></font>B/481, Room 2123, Ext. 2-8926<br>
E-mail:&nbsp; <font color="#0000FF">koning2@llnl.gov,
cm-help@calaveras.llnl.gov<br>
</font></body>
</html>


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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' to a directory

Posted by Dimitri Papadopoulos-Orfanos <pa...@shfj.cea.fr>.
Hi,

> Per Dimitri's suggestions, I took off this from the $PATH:  
> /usr/ucb/cc and /usr/ucb 
> 
> Then ran this:
> 
> ldd subversion/svnversion/svnversion
> 
> ironwood<133> ldd subversion/svnversion/svnversion
> ldd: subversion/svnversion/svnversion: unsupported or unknown file type

As far as I can see, the Makefile attempts to run 'svnversion' but 
fails, apparetly because of a run-time linker problem:
subversion/svnversion/svnversion . /repos/svn/trunk [...]
ld.so.1: /tmp/subversion-1.2.3/subversion/svnversion/.libs/svnversion: 
fatal: /usr/ccs/bin/ranlib/libgcc_s.so.1: Not a directory

To tell the truth I have no idea why the run-time linker would look in 
/usr/ccs/bin/ranlib/libgcc_s.so.1. This looks very wrong. Which exact 
compiler are you using? Where did you get your GNU compiler form?

Additionally 'svnversion' is supposed to be an executable. I don't 
understand why 'ldd' fails in the case of 'svnversion'. It looks like a 
bogus 'svnversion' is created. Try the following commands to have a 
better view of the problem:
	./subversion/svnversion/svnversion
	file subversion/svnversion/svnversion
	ls -l subversion/svnversion/svnversion
	echo $LD_LIBRARY_PATH
	echo $PATH

Dimitri Papadopoulos

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