[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DESTDIR install and OpenBSD
From: |
Jacob Meuser |
Subject: |
Re: DESTDIR install and OpenBSD |
Date: |
Wed, 25 Jan 2006 18:57:03 -0800 |
User-agent: |
Mutt/1.4.2i |
On Wed, Jan 25, 2006 at 02:14:08PM +0100, Ralf Wildenhues wrote:
> Hi Carlo,
>
> * Carlo Contavalli wrote on Wed, Jan 25, 2006 at 12:42:15PM CET:
> > Hello,
> > I have two libraries: libtesta and libtestb. libtestb depends
> > upon libtesta. The compilation process is fine. If I make install,
> > it seems ok. However, if I:
> >
> > make install DESTDIR=/tmp/root.openbsd/
> >
> > On linux it seems to work ok, with a couple warnings. On OpenBSD,
> > libtool returns the error:
>
> Please rerun the relink with --debug added (add it manually to the
> respective line in the uninstalled libtestb.la file). Also please
> post `../../libtool --config' (preferably packed).
>
> Please also show how you configured the package.
>
> > gcc -shared -fPIC -DPIC -o .libs/libtestb.so.0.0 .libs/test1.o
> > .libs/test2.o /usr/local/lib/libtesta.so.0.0
>
> Yeah, most likely part of the problem is a bug I introduced right before
> 1.5.22. But there might be more issues to it.
this is a long standing problem, actually. it is related to
hardcode_direct=yes. there is a workaround in OpenBSD's libtool port
for about 1.5 years:
--- ltmain.in.orig Sun Dec 18 13:43:52 2005
+++ ltmain.in Mon Jan 23 23:47:11 2006
@@ -2741,7 +2752,7 @@ EOF
add_dir=
add=
# Finalize command for both is simple: just hardcode it.
- if test "$hardcode_direct" = yes; then
+ if test "$hardcode_direct" = yes && test -f $libdir/$linklib; then
add="$libdir/$linklib"
elif test "$hardcode_minus_L" = yes; then
add_dir="-L$libdir"
> > Am I doing something wrong? Or should I report this as a bug?
I have brought this up here before ...
http://www.archivum.info/address@hidden/2004-11/msg00481.html
--
<address@hidden>
- DESTDIR install and OpenBSD, Carlo Contavalli, 2006/01/25
- Re: DESTDIR install and OpenBSD, Ralf Wildenhues, 2006/01/25
- Re: DESTDIR install and OpenBSD, Carlo Contavalli, 2006/01/25
- Re: DESTDIR install and OpenBSD,
Jacob Meuser <=
- Re: DESTDIR install and OpenBSD, Ralf Wildenhues, 2006/01/26
- Re: DESTDIR install and OpenBSD, Ralf Wildenhues, 2006/01/26
- Re: DESTDIR install and OpenBSD, Jacob Meuser, 2006/01/26
- Re: DESTDIR install and OpenBSD, Ralf Wildenhues, 2006/01/30
- Re: DESTDIR install and OpenBSD, Jacob Meuser, 2006/01/31
- Re: DESTDIR install and OpenBSD, Ralf Wildenhues, 2006/01/31
- Re: DESTDIR install and OpenBSD, Jacob Meuser, 2006/01/31