Charles Bacon wrote:
You might be able to set GLOBUS_LDFLAGS before the build. If you have
already built globus_core, though, I don't think that will work.
However, then you could edit the files under
$GLOBUS_LOCATION/etc/globus_core/flavor_*.gpt and change the LDFLAGS there.
Otherwise you can change the Makefile.in instead of the Makefile; each
package does a "make distclean" as part of its build.
What is the ssl_extra library providing that you need?
in 4.2.1 i have no $GLOBUS_LOCATION/etc/globus_core/flavor_*.gpt, only:
./source-trees/core/source/pkgdata/flavor_vendorcc32.gpt
./source-trees-thr/core/source/pkgdata/flavor_vendorcc32pthr.gpt
i thouhgt that a lib would go in LIBS, LDFLAGS is only for paths?
and i don't see where i can put my lib in Makefile.in?
because i have this error:
/opt/studio12/SUNWspro/bin/cc -xO3 -m32 -m32 -o
gaa_test_with_assertion_file gaa_test_with_assertion_file.o
gaa_test_utils.o -L/local/apps/globus/lib
/local/apps/globus/lib/libglobus_gss_assist_vendorcc32.so
/local/apps/globus/lib/libglobus_gssapi_gsi_vendorcc32.so
/local/apps/globus/lib/libglobus_gsi_proxy_core_vendorcc32.so
/local/apps/globus/lib/libglobus_gsi_credential_vendorcc32.so
/local/apps/globus/lib/libglobus_gsi_callback_vendorcc32.so
/local/apps/globus/lib/libglobus_oldgaa_vendorcc32.so
/local/apps/globus/lib/libglobus_gaa_simple_vendorcc32.so
/local/apps/globus/lib/libglobus_gsi_sysconfig_vendorcc32.so
/local/apps/globus/lib/libglobus_gsi_cert_utils_vendorcc32.so
/local/apps/globus/lib/libglobus_openssl_vendorcc32.so
/local/apps/globus/lib/libglobus_openssl_error_vendorcc32.so
/local/apps/globus/lib/libglobus_callout_vendorcc32.so
/local/apps/globus/lib/libglobus_proxy_ssl_vendorcc32.so
/local/apps/globus/lib/libglobus_common_vendorcc32.so
/local/apps/globus/lib/libglobus_gaa_plugin_vendorcc32.so
/local/apps/globus/lib/libglobus_gaa_debug_vendorcc32.so
/local/apps/globus/lib/libltdl_vendorcc32.so
/local/apps/globus/lib/libglobus_gaa_util_vendorcc32.so
/local/apps/globus/lib/libglobus_gaa_core_vendorcc32.so -L/usr/sfw/lib
-lssl -lcrypto -ldl -lsocket -lnsl -R/local/apps/globus/lib
-R/local/apps/globus/lib -R/usr/sfw/lib
Undefined first referenced
symbol in file
EVP_aes_192_cbc
/local/apps/globus/lib/libxmlsec1_openssl_gcc32dbg.so.1
EVP_aes_256_cbc
/local/apps/globus/lib/libxmlsec1_openssl_gcc32dbg.so.1
ld: fatal: Symbol referencing errors. No output written to
gaa_test_with_assertion_file
collect2: ld returned 1 exit status
make[2]: *** [gaa_test_with_assertion_file] Error 1
make[2]: Leaving directory
`/local/globus/gt4.2.1-all-source-installer/source-trees/gsi/gaa_callbacks/gaa_simple/test'
and these symbols are defined in libssl_extra.so.0.9.7 included in
SUNWcry in Solaris 10.
(unfortunately, you have to create manually a symbolic link to
/usr/sfw/lib/libssl_extra.so)
so i could add this lib on the ld line, it will be ok
Charles
On Nov 18, 2008, at 5:55 AM, Gerard Henry wrote:
hello all,
i'm trying to compile gt-4.2.1 on Solaris 10 machine (x86), and i need
to add:
-lssl_extra
in a ld process.
I did:
./configure CC=cc LDFLAGS="-rpath=/usr/sfw/lib -lssl_extra"
--prefix=/local/apps/globus
but it does nothing.
I tried to modify manually
gt4.2.1-all-source-installer/source-trees/gsi/gaa_callbacks/gaa_simple/test/Makefile,
but "make" erases it
so what are the good way to add a lib?
"configure --help" talks about CFLAGS, ... but no luck for me.
Thanks in advance for help,
gerard
PS: i read
http://www.globus.org/toolkit/docs/4.0/admin/docbook/ch03.html#s-platform-solaris
and
http://www.globus.org/toolkit/docs/4.2/4.2.1/admin/quickstart/#quickstart