Re: [GnomeMeeting-devel-list] Libraries not in /usr

Hi Eric,

Am Freitag, den 13.01.2006, 18:50 +0100 schrieb cooky hey shacknet nu:
> Hi! If the opal and pwlib libraries are not under /usr, I need to use
> LD_LIBRARY_PATH when running the program, even if I provided the
> --with-pwlib-dir switch. Would it be possible to hardcode the library
> paths when compiling GM, so that you wouldn't need to use
> LD_LIBRARY_PATH or update /etc/ I think it's the -Wl,-rpath
> switch to gcc that does the job. If opal and pwlib had provided pkconfig
> files I assume this would have worked automatically? Because it works in
> most other cases.

Using rpath is evil and bad. If you install to a location that is not
covered by ldconfig (meaning then it's just normal that you
need LD_LIBRARY_PATH. Thus if that location is of some general use for
you, then you can safely add it to and rerun ldconfig like
normal. At least for any packs we will ship and as long as I can stop
it, we will not support rpath by default as this causes more problems
than it solves.

Best regards,

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]