In netscape.public.mozilla.unix Dominic Tracey <[EMAIL PROTECTED]> wrote:
-> My grasp of both autoconf and linking/loading is tenuous at best so I'm
-> not sure of next steps. Does the mozilla installation program append a
-> line to /etc/ld.so.conf (on Linux, not sure what analogy is in BSD-style
-> OSs)? If not, I suppose I'd have to do so in any 'make install' rule? Or
-> does the library search path get embedded in the executable by the
-> linker? I need to do some more tinkering.
I haven't seen (and would not recommend) adding lines in ld.so.conf on
linux or FreeBSD nor ld-elf.so.conf on FreeBSD.
Anyway, -rpath on those systems or -R on solaris (most of system should know
one of them) does what you mentioned - puts the path into executables
somehow. That's why I recommended it ;)
->> -> 1) The default location for libgtkmozembed.so is /usr/local/mozilla.
->> -> This can be over-ridden with the --with-mozilla-dir=DIR configure option.
->>
->> hmmm, will mozilla be compiled using -R ${libpath} or -rpath ${libpath} ?
->> that would suppress needing of defining LD_LIBRARY_PATH in scripts used to
->> run it... (solaris uses -R, linux -rpath, FreeBSD -rpath maybe some else)
--
Matus "fantomas" Uhlar, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I don't wish to receive spam to this address.
Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
Eagles may soar, but weasels don't get sucked into jet engines.