Hi,

I think the LD_LIBRARY_PATH environment variable needs to be set in the
script that is starting Apache (i.e., calls apachectl) so that when
Apache loads mod_auth_cas and then tries to do something it will know
the appropriate directories to look for the shared libraries that it
depends on.  Alternatively, you could use '-R/path/to/newssl/libraries'
as an additional CFLAGS option.  The -R option says to store the
location of the library so that the program doesn't need to have
LD_LIBRARY_PATH set.

Hope this helps,
Russ


On Fri, 1 Feb 2008, Smith, Matt wrote:

> I'm not sure how to use the custom openssl location, but I do want to
> caution you away from the 1.0.7 series for now.  We are still hunting
> down a bug introduced by single sign out.  1.0.6 is stable, so use that
> for now.
>
> As a guess, though, do you use "-S CFLAGS='-I/path/to/newssl/headers'"
> to make sure apxs references the correct includes during compilation?
>
> Check the man page for apxs -- there are other "-S" parameters you may
> be able to tinker with too.
>
> -Matt
>
> On Fri, 2008-02-01 at 09:29 -0600, sameer danthurthy wrote:
>> Hello: Hopefully it's relatively a simple linking issue.
>>
>> Apache 2.2.X
>> OpenSSL 0.9.8c
>> mod_auth_cas 1.0.6 and 1.0.7 rc2
>>
>> I have compiled openssl is a non standard directory as "shared" and
>> mod_auth_cas using axps.
>> However when I start apache after Loading mod_auth_cas, I get "symbol
>> SSLv23_method: referenced symbol not found"
>> which is understandable since my libssl in /usr/lib doesn't have the
>> symbol ( confirmed using nm on solaris 8 )
>> I do have another libssl which has the appropriate symbols but I am
>> unable to figure out why mod_auth_cas.so
>> is unable to find teh symbols though the new libssl is in
>> LD_LIBRARY_PATH path.
>>
>> #2. I changed apache's envvars to specify the path, still it doesn't
>> work.
>>
>> #3. ldd on mod_auth_cas doesn't show any unresolved symbols
>>
>>
>> So I believe that when apache loads the module(mod_auth_cas), it
>> doesn't see new libssl. Any help is much appreciated.
>>
>>
>> Thanks
>>
>>
>>
>> --
>> sd
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
> -- 
> Matt Smith
> [EMAIL PROTECTED]
> University Information Technology Services (UITS)
> University of Connecticut
> PGP Key ID: 0xE9C5244E
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to