Problems to install with DESTDIR

Mikael Hedin <[email protected]>
Newsgroups gmane.comp.video.ogle.devel
Message-ID <87d6l1povc.fsf@c-6f9472d5.04-75-73746f13.cust.bredbandsbolaget.se>
Hi,

I'm getting into trouble with the deb of ogle.  The problem boils down
to this:

1) Have ogle of version less than 0.9.0 installed in $prefix
   (libmsgevents.so.4)

2) Compile ogle 0.9.0: ./configure --prefix=$prefix; make

3) Install ogle with make install DESTDIR=$SOMETHING

Now you (I) end up with a $SOMETHING/usr/lib/ogle/libdvdcontrol.so
that depends on libmsgevents.so.4!  

After step 2, libdvdcontrol.so depends on libmsgevents.so.6, as it
should.  In step 3 though, libtool is "smart" enough to relink
libdvdcontrol.so with -lmsgevents -L$prefix/lib/ogle among other
options.  It's just that the old msgevents live in this directory!
Argh!

Does this happen for you folks also?  The LIBRARY_PATH trick does not
help, as I think it did earlier.

/Micce

-- 
Mikael Hedin, MSc +46 (0)8 344979 (home) +46 (0)70 5891533 (mobile)
[gpg key fingerprint = 387F A8DB DC2A 50E3 FE26  30C4 5793 29D3 C01B 2A22]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.