chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Building Chicken on x86_64 system: all well


From: Brandon J. Van Every
Subject: Re: [Chicken-users] Building Chicken on x86_64 system: all well
Date: Thu, 27 Jul 2006 11:04:10 -0700
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Brandon J. Van Every wrote:
Kon Lovett wrote:
On Jul 25, 2006, at 8:18 AM, Brandon J. Van Every wrote:

John Cowan wrote:
Brandon J. Van Every scripsit: 
<snip>
 

I'm unfamiliar with LD_LIBRARY_PATH issues, being a Windows guy.  The CMake 2.4.2 documentation doesn't even mention it.  It does talk about RPATH, and there have been lotsa posts on the CMake list lately about RPATH.  Someone else will have to chase this one down, as unless Cygwin imitates this stuff, I have no way of testing it and I don't really want to learn it anyways.  The CMake mailing list archives may be useful.  It has no inherent archive search, but you can do a Google search on site:http://public.kitware.com/pipermail/cmake/



Is the install location of a linked library different from the build location of that library? (Probably yes.) If the -L location of a library linked to a chicken executable at build time changes at install time then LD_LIBRARY_PATH will be necessary to find the library at the installed location.

Possibly use '-rpath' which will set the eventual install location of the library or add the pathname to the runtime library search path of an executable.

(FYI: -rpath is a libtool arg for specifying the runtime path for a library at link time. It sets the search path for a library or executable. Looks like the CMake *_RPATH stuff is their mechanism for passing this information on to the linker, and not a real environment variable like LD_LIBRARY_PATH. '-R' is similar to -rpath but adds the pathname to the library's dependecies, it doesn't say where the library will actually be installed, as -rpath does.)

Sorry, I haven't been following the CMake discussion too closely so forgive me if the above is well known by now.



If someone can do me the honor of looking up the relevant stuff in the CMake archives, I'll implement it.  I did Google the CMake archives, but it took longer than my 10 minute pain threshold and I didn't find anything definitively useful.  Also there have been so many RPATH posts in the past month that I'm confused about whether it even works properly, not having followed the discussion at all.


So does something need to be done here or not?


Cheers,
Brandon Van Every


reply via email to

[Prev in Thread] Current Thread [Next in Thread]