On 27/06/06, Johannes Sixt <[EMAIL PROTECTED]> wrote:
On Monday 26 June 2006 23:36, Richard Korinek wrote:
> I have possibly a silly question, but I cannot find the answer.
> Is it possible to have a standard libdv library on the system (in
> /usr] but compile and use cinerella against another library e.g. in
> /usr/local?
>
> I cannot find a solution so far and I need the system wide library for
> keeping the dependencies on gentoo. Thanks a lot for any answer.

Normally, gcc is set up to pick up /usr/local before /usr. Therefore, what you
want to achieve should happen automatically.

Note that /etc/ld.so.conf is usually set up such that shared libraries
in /usr/local/lib are prefered over those in /usr/lib. This happens
regardless of from which path the library was linked as long as the one
in /usr/local/lib has a suitable version number. This means that the presence
or absence of /usr/local/lib/libdv.so.* when the application is *run* makes a
difference.

-- Hannes

Sorry for not replying sooner, I was away from all my computers.

Maybe the gentoo setup is different but for compatibility reasons I
had the libdv installed from the official distribution (version 0.102)
in /usr and the cvs version in /usr/local. The configure script simply
ignored the cvs version in /usr/local, complained about missing libdvd
and then the make command refused to compile the binary.

However when I had a look at previously compilled version of cinerella
with ldd it reported using /usr/loca/lib/libdv...

So I believe that that either my build environment setup is broken
somehow or the configure script for cinelerra-cvs has gone weird.
Finally I have solved my problem by upgrading the main installed
version of libdv to 0.104 and keeping the cvs version along in
/usr/local/ because the 0.104 version causes cinelerra to crash while
openning dv files.

Richard

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to