You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@codematters.co.uk> on 2003/08/11 21:08:48 UTC

Re: lt-svnversion consistenly linked against wrong libs

Erik Hülsmann <e....@gmx.net> writes:

> [ snip ]
>
>>I think the problem is the -L/usr/local/lib that comes before -lssl.
>>
>>Have a look in the libtool file
>> /home/erik/svn/subversion/libsvn_ra_dav/libsvn_ra_dav-1.la
>>Is the -L/usr/local/lib there?
>
> Yes, there is, but libssl.so.2 is located in /lib and libssl.so in
> /usr/lib so there is no reason for the command to be there.

I don't think it's ssl, I suspect it is the way neon links to libxml,
try

  grep NEON_LIBS Makefile

-- 
Philip Martin

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

Re: lt-svnversion consistenly linked against wrong libs

Posted by Erik Hülsmann <e....@gmx.net>.
>>Erik H�lsmann <e....@gmx.net> writes:
>>
>>> [ snip ]
>>>
>>>>I think the problem is the -L/usr/local/lib that comes before -lssl.
>>>>
>>>>Have a look in the libtool file
>>>> /home/erik/svn/subversion/libsvn_ra_dav/libsvn_ra_dav-1.la
>>>>Is the -L/usr/local/lib there?
>>>
>>> Yes, there is, but libssl.so.2 is located in /lib and libssl.so in
>>> /usr/lib so there is no reason for the command to be there.
>>
>>I don't think it's ssl, I suspect it is the way neon links to libxml,
>>try
>>
>>  grep NEON_LIBS Makefile
>>
> # grep NEON_LIBS Makefile
>NEON_LIBS = $(abs_builddir)/neon/src/libneon.la -L/usr/local/lib  -lssl -lcrypto -lz -L/usr/local/lib -lxml2 -lz -lm
>
BTW:

 # locate xml2.so
/usr/lib/libxml2.so.2
/usr/lib/libxml2.so.2.4.23
/usr/local/lib/libxml2.so.2.4.23
/usr/local/lib/libxml2.so.2
/usr/local/lib/libxml2.so

So then eliminating /usr/local/lib/libxml2* should eliminate my problems? It would not be my favorate solution though, since the problem in the build script remains.

bye,

Erik.

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

Re: lt-svnversion consistenly linked against wrong libs

Posted by Erik Hülsmann <e....@gmx.net>.
Hi Philip!

Thanks for your continued help!

[ snip ]
>> So what now?!
>
>So the problem is that
>
>  neon-config --libs
>
>includes -L/usr/local/lib which causes problems for subsequent
>Subversion libraries.

 # neon-config --libs
-L/usr/local/lib -lneon -lssl -lcrypto -lz -L/usr/local/lib -lxml2 -lz -lm

So I guess you're right.

>It's odd that svn doesn't have the same problem, I suspect some
>reordering within the the gen-make system.  If you edit build.conf and
>compare the [svn] and [svnversion] sections they have different libs
>lines.  You could try replacing the svnversion line with that from
>svn, then run ./gen-make.py in the source directory, run config.nice
>in the build directory, make clean and and finally make.

I saw your other post about the $(NEON_LIBS), so I decided to do that.
I think I will be running the above test too, but I am running the rebuild 
now and will report back to the list when I come back from work; this evening.

bye,


Erik.

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

Re: lt-svnversion consistenly linked against wrong libs

Posted by Philip Martin <ph...@codematters.co.uk>.
Philip Martin <ph...@codematters.co.uk> writes:

> reordering within the the gen-make system.  If you edit build.conf and
> compare the [svn] and [svnversion] sections they have different libs
> lines.  You could try replacing the svnversion line with that from
> svn, then run ./gen-make.py in the source directory, run config.nice
> in the build directory, make clean and and finally make.

Ooops, no need to rerun configure.  Just run ./gen-make.py in the
source directory, make clean and make.

-- 
Philip Martin

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

Re: lt-svnversion consistenly linked against wrong libs

Posted by Philip Martin <ph...@codematters.co.uk>.
Erik Hülsmann <e....@gmx.net> writes:

>  # grep NEON_LIBS Makefile
> NEON_LIBS = $(abs_builddir)/neon/src/libneon.la -L/usr/local/lib  -lssl -lcrypto -lz -L/usr/local/lib -lxml2 -lz -lm
>
> So what now?!

So the problem is that

  neon-config --libs

includes -L/usr/local/lib which causes problems for subsequent
Subversion libraries.

It's odd that svn doesn't have the same problem, I suspect some
reordering within the the gen-make system.  If you edit build.conf and
compare the [svn] and [svnversion] sections they have different libs
lines.  You could try replacing the svnversion line with that from
svn, then run ./gen-make.py in the source directory, run config.nice
in the build directory, make clean and and finally make.

-- 
Philip Martin

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

Re: lt-svnversion consistenly linked against wrong libs

Posted by Erik Hülsmann <e....@gmx.net>.
>Erik H�lsmann <e....@gmx.net> writes:
>
>> [ snip ]
>>
>>>I think the problem is the -L/usr/local/lib that comes before -lssl.
>>>
>>>Have a look in the libtool file
>>> /home/erik/svn/subversion/libsvn_ra_dav/libsvn_ra_dav-1.la
>>>Is the -L/usr/local/lib there?
>>
>> Yes, there is, but libssl.so.2 is located in /lib and libssl.so in
>> /usr/lib so there is no reason for the command to be there.
>
>I don't think it's ssl, I suspect it is the way neon links to libxml,
>try
>
>  grep NEON_LIBS Makefile
>
 # grep NEON_LIBS Makefile
NEON_LIBS = $(abs_builddir)/neon/src/libneon.la -L/usr/local/lib  -lssl -lcrypto -lz -L/usr/local/lib -lxml2 -lz -lm

So what now?!

bye,

Erik.

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